modelPowerToGasSystem
Information
1. Purpose of model
Submodel of the power to gas system to be used inside a superstructure.
2. Level of detail, physical effects considered, and physical insight
This definition includes the type options:
3. Limits of validity
(no remarks)
4. Interfaces
Inputs:
- controlBus
- P_el_set
- gasPortIn and gasPortIn1
Outputs:
- epp
- P_max_noCCs
- P_Powerplant_is
- gasPortOut for CO2 deposition
5. Nomenclature
(no elements)
6. Governing Equations
(no equations)
7. Remarks for Usage
To be used inside a superstructure. An enumeration of all possible types has to be maintained alongside this model.
8. Validation
(no validation or testing necessary)
9. References
(none)
10. Version History
Model created by Oliver Schülting (oliver.schuelting@tuhh.de), Nov 2020
Model adjusted by Jon Babst (babst@xrg-simulation.de), 06.09.2021
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | typeIsMethanation | not (powerToGasType == PowerToGasType(1) or powerToGasType == PowerToGasType(2) or powerToGasType == PowerToGasType(3)) | Choosen type is a mathanator |
| Boolean | typeIsWOStorage | (powerToGasType == PowerToGasType(1) or powerToGasType == PowerToGasType(6)) | Choosen type does not include a storage |
| Boolean | useVariableHydrogenFraction | true, if hydrogen fraction of PtG-plants can vary dependent on hydrogen content of gas grid | |
| Boolean | CO2NeededForPowerToGas | ||
| Real | T_supply_max_districtHeating | ||
| Modelica.Units.SI.MassFraction[max(simCenter.gasModel1.nc - 1, 1)] | xi_const_noZeroMassFlow | ||
| SI.MassFlowRate | m_flow_small | 0 | small leackage mass flow for numerical stability |
| Records.PowerToGasRecord | powerToGasRecord | Records.PowerToGasRecord() | |
| PowerToGasType | powerToGasType | PowerToGasType.FeedInStation_Methanation_CvnCmp | |
| General › General | |||
| TILMedia.VLEFluidTypes.BaseVLEFluid | medium_CO2 | simCenter.gasModel1 | CO2 model to be used |
| TILMedia.VLEFluidTypes.BaseVLEFluid | medium_Hydrogen | simCenter.gasModel3 | Hydrogen model to be used |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.Basics.Interfaces.Gas.RealGasPortIn | gasPortIn_CO2 | ||
| Modelica.Blocks.Interfaces.RealInput | PP_m_flowGas |