modelRegionalController

Dummy regional Model for "local" controling

Extends from TransiEnt.Basics.Icons.SuperstructureIcon.

Parameters

TypeNameDefaultDescription
IntegerRegion1Define Region Number
IntegerDifferentTypesOfPowerPlants0 to x
IntegerDifferentTypesOfPowerToGasPlants0 or 1
IntegerDifferentTypesOfGasStorage0 or 1
BooleanPowerPlantsInThisRegionif DifferentTypesOfPowerPlants > 0 then true else falsetrue, if power plants exist in region
BooleanPowerToGasPlantsInThisRegionif DifferentTypesOfPowerToGasPlants > 0 then true else falsetrue, if power to gas plants exist in region
BooleanGasStorageInThisRegionif DifferentTypesOfGasStorage > 0 then true else falsetrue, if gas storages exist in region
BooleanptGTypeIsMethanationif PowerToGasPlantsInThisRegion == false then false else not (powerToGasInstancesRecord.powerToGasType == .TransiEnt.SystemGeneration.Superstructure.Portfolios.Portfolio_Example.PowerToGasType(1) or powerToGasInstancesRecord.powerToGasType == .TransiEnt.SystemGeneration.Superstructure.Portfolios.Portfolio_Example.PowerToGasType(2) or powerToGasInstancesRecord.powerToGasType == .TransiEnt.SystemGeneration.Superstructure.Portfolios.Portfolio_Example.PowerToGasType(3))
BooleanCCSInPowerPlantsif PowerPlantsInThisRegion == false then false elseif max(powerPlantInstancesRecord.powerPlantRecord[:].CO2_Deposition_Rate) > 0 then true else false
BooleantypeIsWOStorageif PowerToGasPlantsInThisRegion == false then false else (powerToGasInstancesRecord.powerToGasType == .TransiEnt.SystemGeneration.Superstructure.Portfolios.Portfolio_Example.PowerToGasType(1) or powerToGasInstancesRecord.powerToGasType == .TransiEnt.SystemGeneration.Superstructure.Portfolios.Portfolio_Example.PowerToGasType(6))
Modelica.Units.SI.Pressurep_min_operating_PowerPlants1e5gas pressure threshold at which powerplants turn off
Modelica.Units.SI.Pressurep_min_operating_PowerPlants_backin2e5gas pressure threshold at which powerplants turn back on after turning off
GasGrid
Modelica.Units.SI.Pressurep_gasGrid_desiredsimCenter.p_amb_const + simCenter.p_eff_2desired gas grid pressure in region
Modelica.Units.SI.PressureDifferencep_gasGrid_desired_bandwidth0band width around p_gasGrid_desired in which the set value varies depending on the SOC of the gas storage
PowerPlants/PtG
BooleanCO2NeededForPowerToGasif PowerToGasPlantsInThisRegion == false then false elseif ptGTypeIsMethanation then true else false
BooleanuseHydrogenFromPtGInPowerPlantsfalse
IntegerusageOfWasteHeatOfPtG1Waste heat usage of PtG
GasPortSplitter
Integern_gasPortOut_powerPlants1
Real[max(1, n_gasPortOut_powerPlants)]splitRatio_powerPlants{0.1}
Records › Gas Storages
.TransiEnt.SystemGeneration.Superstructure.Portfolios.Portfolio_Example.Records.InstancesRecords.GasStorageInstancesRecordgasStorageInstancesRecord
Records › Power Plants
IntegernPowerPlantspowerPlantInstancesRecord.nPowerPlants
.TransiEnt.SystemGeneration.Superstructure.Portfolios.Portfolio_Example.Records.InstancesRecords.PowerPlantInstancesRecordpowerPlantInstancesRecord
Records › Power To Gas
.TransiEnt.SystemGeneration.Superstructure.Portfolios.Portfolio_Example.Records.InstancesRecords.PowerToGasInstancesRecordpowerToGasInstancesRecord

Connectors

TypeNameDefaultDescription
MasterBusControlmasterBusControl
InputBusinputBus

Components

TypeNameDefaultDescription
TransiEnt.SimCentersimCenter
Controller.ControlGasStorage_oneWaycontrolGasStorage
Controller.ControlCO2controlCO2
Controller.ControlPowerToGascontrolPowerToGasStorage
Controller.ControlPowerPlantcontrolPowerPlant