def operate(*args, **kwargs): """Returns the built-in urban-scale example model in operate mode.""" return Model(os.path.join(_PATHS['urban_scale'], 'model.yaml'), override_file=os.path.join(_PATHS['urban_scale'], 'overrides.yaml:operate'), *args, **kwargs)
def time_resampling(*args, **kwargs): """Returns the built-in national-scale example model with time resampling.""" return Model(os.path.join(_PATHS['national_scale'], 'model.yaml'), override_file=os.path.join(_PATHS['national_scale'], 'overrides.yaml:time_resampling'), *args, **kwargs)
def milp(*args, **kwargs): """Returns the built-in urban-scale example model with MILP constraints enabled.""" return Model(os.path.join(_PATHS['urban_scale'], 'model.yaml'), override_file=os.path.join(_PATHS['urban_scale'], 'overrides.yaml:milp'), *args, **kwargs)
def time_masking(*args, **kwargs): """Returns the built-in urban-scale example model with time masking.""" return Model( os.path.join(_PATHS['urban_scale'], 'model.yaml'), override_file=os.path.join(_PATHS['urban_scale'], 'overrides.yaml:time_masking'), *args, **kwargs )
def time_masking(*args, **kwargs): """Returns the built-in urban-scale example model with time masking.""" return Model( os.path.join(_PATHS["urban_scale"], "model.yaml"), scenario="time_masking", *args, **kwargs, )
def operate(*args, **kwargs): """Returns the built-in urban-scale example model in operate mode.""" return Model( os.path.join(_PATHS["urban_scale"], "model.yaml"), scenario="operate", *args, **kwargs, )
def milp(*args, **kwargs): """Returns the built-in urban-scale example model with MILP constraints enabled.""" return Model( os.path.join(_PATHS["urban_scale"], "model.yaml"), scenario="milp", *args, **kwargs, )
def time_resampling(*args, **kwargs): """Returns the built-in national-scale example model with time resampling.""" return Model( os.path.join(_PATHS["national_scale"], "model.yaml"), scenario="time_resampling", *args, **kwargs, )
def urban_scale(*args, **kwargs): """Returns the built-in urban-scale example model.""" return Model(os.path.join(_PATHS["urban_scale"], "model.yaml"), *args, **kwargs)
def national_scale(*args, **kwargs): """Returns the built-in national-scale example model.""" return Model(os.path.join(_PATHS["national_scale"], "model.yaml"), *args, **kwargs)
def time_masking(*args, **kwargs): """Returns the built-in urban-scale example model with time masking.""" return Model(os.path.join(_PATHS['urban_scale'], 'model.yaml'), scenario='time_masking', *args, **kwargs)
def operate(*args, **kwargs): """Returns the built-in urban-scale example model in operate mode.""" return Model(os.path.join(_PATHS['urban_scale'], 'model.yaml'), scenario='operate', *args, **kwargs)
def milp(*args, **kwargs): """Returns the built-in urban-scale example model with MILP constraints enabled.""" return Model(os.path.join(_PATHS['urban_scale'], 'model.yaml'), scenario='milp', *args, **kwargs)
def time_resampling(*args, **kwargs): """Returns the built-in national-scale example model with time resampling.""" return Model(os.path.join(_PATHS['national_scale'], 'model.yaml'), scenario='time_resampling', *args, **kwargs)