modelLocalDemand
Information
1. Purpose of model
Submodel of the local demand to be used inside a superstructure.
2. Level of detail, physical effects considered, and physical insight
Included are electric demand, direct gas demand and heat demand. Tables are used to set the demand profiles.
The heat demand is fulfilled by a variable mix of technologies:
- Gas boiler
- Gas boiler and solar
- Heat pump
- Heat pump and solar
- Heat pump and sole
- Heat pump and solar sole
- Gas heat pump
- Gas heat pump and solar
- Electric heater
The usage fraction of each technology is set in the parameter record.
3. Limits of validity
(no remarks)
4. Interfaces
Inputs:
- Q_flow
Outputs:
- gasPortOut
- epp
- Load
5. Nomenclature
(no elements)
6. Governing Equations
(no equations)
7. Remarks for Usage
To be used inside a superstructure.
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 |
|---|---|---|---|
| Real | LocalGasDemandMaterialUse_real | if LocalGasDemandMaterialUse then 1 else 0 | |
| Integer | NeededGasPortsForJunction | integer(2 + LocalGasDemandMaterialUse_real + Fraction[1]/max(1, Fraction[1]) + Fraction[2]/max(1, Fraction[2]) + Fraction[7]/max(1, Fraction[7]) + Fraction[8]/max(1, Fraction[8])) | |
| TILMedia.VLEFluidTypes.BaseVLEFluid | medium | simCenter.gasModel1 | Gas model to be used |
| Real[10] | Fraction | localDemandRecord.Fraction | |
| Modelica.Units.SI.Heat | Q_demand_annual | localDemandRecord.Q_demand_annual | |
| Boolean | LocalGasDemandMaterialUse | localDemandRecord.LocalGasDemandMaterialUse | |
| Modelica.Units.SI.Volume | volume_junction | localDemandRecord.volume_junction | |
| Modelica.Units.SI.Pressure | p_min | 1e5 | |
| Modelica.Units.SI.Pressure | p_min_backin | 2e5 | |
| Modelica.Units.SI.Pressure | p_gasGrid_desired | simCenter.p_amb_const + simCenter.p_eff_2 | desired gas grid pressure in region |
| Records.LocalDemandRecord | localDemandRecord | Records.LocalDemandRecord() | |
| String | localElectricDemand_pathToTable | ||
| Real | localElectricDemand_constantMultiplier | 1.0 | Multiply output with constant factor |
| String | localGasDemand_pathToTable | ||
| Real | localGasDemand_constantMultiplier | 1.0 | Multiply output with constant factor |
| String | localSolarthermalProduction_pathToTable | ||
| Real | localSolarthermalProduction_constantMultiplier | 1.0 | Multiply output with constant factor |
| GasPortSplitter | |||
| Integer | n_gasPortOut_split | 1 | |
| Real[max(1, n_gasPortOut_split)] | splitRatio | {0.1} | |