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:

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

TypeNameDefaultDescription
RealLocalGasDemandMaterialUse_realif LocalGasDemandMaterialUse then 1 else 0
IntegerNeededGasPortsForJunctioninteger(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.BaseVLEFluidmediumsimCenter.gasModel1Gas model to be used
Real[10]FractionlocalDemandRecord.Fraction
Modelica.Units.SI.HeatQ_demand_annuallocalDemandRecord.Q_demand_annual
BooleanLocalGasDemandMaterialUselocalDemandRecord.LocalGasDemandMaterialUse
Modelica.Units.SI.Volumevolume_junctionlocalDemandRecord.volume_junction
Modelica.Units.SI.Pressurep_min1e5
Modelica.Units.SI.Pressurep_min_backin2e5
Modelica.Units.SI.Pressurep_gasGrid_desiredsimCenter.p_amb_const + simCenter.p_eff_2desired gas grid pressure in region
Records.LocalDemandRecordlocalDemandRecordRecords.LocalDemandRecord()
StringlocalElectricDemand_pathToTable
ReallocalElectricDemand_constantMultiplier1.0Multiply output with constant factor
StringlocalGasDemand_pathToTable
ReallocalGasDemand_constantMultiplier1.0Multiply output with constant factor
StringlocalSolarthermalProduction_pathToTable
ReallocalSolarthermalProduction_constantMultiplier1.0Multiply output with constant factor
GasPortSplitter
Integern_gasPortOut_split1
Real[max(1, n_gasPortOut_split)]splitRatio{0.1}

Components

TypeNameDefaultDescription
TransiEnt.SimCentersimCenter
Modelica.Units.SI.TemperatureT_region
Modelica.Units.SI.HeatFlowRateQ_flow_solarthermal_pugain_SolarthermalProduction.y
TransiEnt.Basics.Tables.GenericDataTableDataTable_ElectricDemand
TransiEnt.Consumer.Electrical.ExponentialElectricConsumerComplexload
Modelica.Blocks.Math.Gaingain_HeatPump
Modelica.Blocks.Math.Gaingain_HeatPumpAndSolar
Modelica.Blocks.Math.Gaingain_GasboilerAndSolar
Modelica.Blocks.Math.Gaingain_Gasboiler
Modelica.Blocks.Sources.RealExpressionZero
Components.LocalHeatSupply.LocalHeatingDemand_Gasboiler_ConstantEfficiencylocalHeatingDemand_Gasboiler
TransiEnt.SystemGeneration.Superstructure.Components.LocalHeatSupply.LocalHeatingDemand_GasboilerAndSolar_ConstantEfficiencylocalHeatingDemand_GasboilerAndSolar
TransiEnt.SystemGeneration.Superstructure.Components.LocalHeatSupply.LocalHeatingDemand_HeatPump_simplelocalHeatingDemand_HeatPump
TransiEnt.SystemGeneration.Superstructure.Components.LocalHeatSupply.LocalHeatingDemand_HeatPumpAndSolar_simplelocalHeatingDemand_HeatPumpAndSolar
TransiEnt.SystemGeneration.Superstructure.Components.LocalHeatSupply.LocalHeatingDemand_HeatPump_simplelocalHeatingDemand_HeatPumpSole
TransiEnt.SystemGeneration.Superstructure.Components.LocalHeatSupply.LocalHeatingDemand_HeatPumpAndSolar_simplelocalHeatingDemand_HeatPumpAndSolarSole
TransiEnt.SystemGeneration.Superstructure.Components.LocalHeatSupply.LocalHeatingDemand_GasHeatPump_simplelocalHeatingDemand_GasHeatPump
TransiEnt.SystemGeneration.Superstructure.Components.LocalHeatSupply.LocalHeatingDemand_GasHeatPumpAndSolar_simplelocalHeatingDemand_GasHeatPumpAndSolar
TransiEnt.SystemGeneration.Superstructure.Components.LocalHeatSupply.LocalHeatingDemand_ElectricalHeaterlocalHeatingDemand_ElectircalHeater
TransiEnt.Consumer.Gas.GasConsumer_HFlow_NCVgasConsumer_HFlow
TransiEnt.Basics.Tables.GenericDataTableDataTable_GasDemandMaterialUse
Modelica.Blocks.Math.Gaingain_HeatPumpSole
Modelica.Blocks.Math.Gaingain_HeatPumpAndSolarSole
Modelica.Blocks.Math.Gaingain_GasHeatPump
Modelica.Blocks.Math.Gaingain_GasHeatPumpAndSolar
TransiEnt.Components.Gas.VolumesValvesFittings.Fittings.RealGasJunction_L2_nPorts_isothjunction1
Modelica.Blocks.Math.Gaingain_SolarthermalProduction
TransiEnt.Basics.Tables.GenericDataTableDataTable_SolarthermalProduction
Modelica.Blocks.Math.Gaingain_ElectricalHeater
Components.Controller.ControlGasPressurecontrolGasPressure
Modelica.Blocks.Sources.RealExpression[n_gasPortOut_split]realExpression1
Modelica.Blocks.Math.Productproduct1
Modelica.Blocks.Math.Productproduct5
Modelica.Blocks.Math.Productproduct4
Modelica.Blocks.Math.Productproduct3
Modelica.Blocks.Math.Productproduct2