def model_config(self, db_path, cfgfile_path, custom_pint_definitions_path):
     cfg.init_cfgfile(cfgfile_path)
     cfg.init_db(db_path)
     cfg.init_pint(custom_pint_definitions_path)
     cfg.init_geo()
     cfg.init_shapes()
     cfg.init_outputs_id_map()
 def model_config(self, db_path, cfgfile_path,
                  custom_pint_definitions_path):
     cfg.init_cfgfile(cfgfile_path)
     cfg.init_db(db_path)
     cfg.init_pint(custom_pint_definitions_path)
     cfg.init_geo()
     cfg.init_shapes()
     cfg.init_outputs_id_map()
    def model_config(self, cfgfile_path, custom_pint_definitions_path):
        cfg.init_cfgfile(cfgfile_path)
        cfg.init_db()
        cfg.path = custom_pint_definitions_path
        cfg.init_pint(custom_pint_definitions_path)
        cfg.init_geo()
        cfg.init_date_lookup()
        if shape.shapes.rerun:
            shape.shapes.create_empty_shapes()
#            shape.shapes.activate_shape(cfg.electricity_energy_type_shape_id)
        cfg.init_outputs_id_map()
Example #4
0
    def model_config(self, cfgfile_path, custom_pint_definitions_path):
        cfg.init_cfgfile(cfgfile_path)
        cfg.init_db()
        cfg.path = custom_pint_definitions_path
        cfg.init_pint(custom_pint_definitions_path)
        cfg.init_geo()
        cfg.init_date_lookup()
        if shape.shapes.rerun:
            shape.shapes.create_empty_shapes()
#            shape.shapes.activate_shape(cfg.electricity_energy_type_shape_id)
        cfg.init_outputs_id_map()
 def configure_energy_system(self):
     print "configuring energy system"
     self.configure_demand()
     self.configure_supply()
     cfg.init_outputs_id_map()
 def configure_energy_system(self):
     print 'configuring energy system'
     self.configure_demand()
     self.configure_supply()
     cfg.init_outputs_id_map()