Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ClassDef bases body FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str With Call AttributeLoad NameLoad attr NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword Call NameLoad Dict Str NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str FunctionDef arguments args NameParam NameParam defaults body Assert CompareEq Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad Call AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad NameLoad Index Str attr Index Call NameLoad keyword Str keyword Str attr keyword Str attr Num Assert Call AttributeLoad CompareEq Call AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad NameLoad Index Str attr Index Call NameLoad keyword Str keyword Str attr keyword Str BinOpMult Num Call AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad NameLoad Index Str attr Index Call NameLoad keyword Str keyword Str attr keyword Str attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad SubscriptLoad AttributeLoad Call AttributeLoad SubscriptLoad NameLoad Index Str attr attr Index TupleLoad Str Str Num decorator_list decorator_list
N/A N/A pytest N/A tempfile calliope.utils AttrDict N/A common common assert_almost_equal solver TestModel N/A N/A model N/A N/A self N/A N/A N/A locations 
            locations:
                1:
                    techs: ['ccgt', 'demand_power']
                    override:
                        ccgt:
                            constraints:
                                e_cap.max: 100
                        demand_power:
                            constraints:
                                r: -50
            links:
         N/A config_run 
            mode: plan
            model: [{techs}, {locations}]
            subset_t: ['2005-01-01', '2005-01-02']
         N/A N/A N/A tempfile NamedTemporaryFile f N/A N/A N/A N/A f write N/A N/A locations encode utf-8 N/A N/A N/A f read N/A model N/A N/A common simple_model config_run config_run config_locations N/A f name override N/A AttrDict N/A solver solver N/A N/A N/A model run N/A model N/A N/A N/A pytest fixture scope module test_model_solves N/A N/A self model N/A N/A N/A N/A N/A str N/A N/A N/A model results solver termination_condition optimal N/A test_model_balanced N/A N/A self model N/A N/A N/A sol N/A model solution N/A N/A N/A N/A N/A N/A N/A N/A N/A sol N/A e loc N/A N/A dict c power y ccgt sum dim x mean 50 N/A N/A N/A N/A N/A N/A N/A N/A N/A sol N/A e loc N/A N/A dict c power y ccgt sum dim x N/A -1 N/A N/A N/A N/A N/A sol N/A e loc N/A N/A dict c power y demand_power sum dim x all N/A test_model_costs N/A N/A self model N/A N/A N/A sol N/A model solution N/A N/A assert_almost_equal N/A N/A N/A N/A N/A sol N/A summary to_pandas loc N/A N/A ccgt levelized_cost_monetary 0.1 N/A N/A