modelGridConstructor

Extends from TransiEnt.SystemGeneration.GridConstructor.Base.PartialGridCell.

Information

1. Purpose of model

Represents a Grid Segment (e. g. street) with multiple consumers and associated technologies for heat and electricity production.

2. Level of detail, physical effects considered, and physical insight

(no remarks)

3. Limits of validity

(no remarks)

4. Interfaces

(no remarks)

5. Nomenclature

(no remarks)

6. Governing Equations

(no remarks)

7. Remarks for Usage

Some remarks about the structure of GridConstructor syntax:

1. Activate/Deactivate connectors of the Basic_Grid_Elements depending on the setting for el_in/el_out/gas_in/gas_out on Grid_constructor level:

if el_in = false all electric connectors are deactivated

if el_in = true but el_out = false then el_out of last Basic_Grid_Element is set to false --> Grid_Constructor represents the end of a beam of the electric grid

if gas_in = false all electric connectors are deactivated

if gas_in = true but gas_out = false then gas_out of last Basic_Grid_Element is set to false --> Grid_Constructor represents the end of a beam of the gas grid

2. Assign second_Consumer values

3. Deactivate pipe segments, in Basic_Grid_Elements in which none of the buildings is connected to the gas grid while gas_in is still activated

4.Assign load-profile triples from load-profile data tables to the buildings:

Starting from column start_c1/start_c2 in table Demand_Consumer_1/Demand_Consumer_2 consecutive load-profile triples are assigned to consecutive buildings in the upper/lower row  

5. Assign a Systems model Systems_Consumer_1/Systems_Consumer_2 to the buildings in the upper/lower row and finalize the individual technology selection with the respective boolean parameter vectors

6. Parametrise the cable and gas pipe models with the respective parameter vectors


8. Validation

(no remarks)

9. References

(no remarks)

10. Version History

Model created by Michael Djukow, 2017

Modified by Anne Hagemeier, 2021

Parameters

TypeNameDefaultDescription
Integern_elements1|System layout|Number of basic grid elements
Integern_consumern_elements + TransiEnt.Basics.Functions.calc_true_booleans(second_Consumer, n_elements)Number of consumers inside a GridConstructor
Connectors
Booleangas_in (from PartialGridCell)trueActivate/Deactivate inlet gas connector
Booleangas_out (from PartialGridCell)trueActivate/Deactivate outlet gas connector
Booleanel_in (from PartialGridCell)trueActivate/Deactivate inlet electric connector
Booleanel_out (from PartialGridCell)trueActivate/Deactivate outlet electric connector
Booleandhn_in_s (from PartialGridCell)falseActivate/Deactivate inlet dhn connector for supply line
Booleandhn_out_s (from PartialGridCell)falseActivate/Deactivate outlet dhn connector for supply line
Booleandhn_in_r (from PartialGridCell)falseActivate/Deactivate inlet dhn connector for return line
Booleandhn_out_r (from PartialGridCell)falseActivate/Deactivate outlet dhn connector for return line
Consumer
Integerstart_c11Number of column in table Demand_Consumer_1 from which the assignment of load-profile data starts
Integerstart_c21Number of column in table Demand_Consumer_2 from which the assignment of load-profile data starts
TransiEnt.SystemGeneration.GridConstructor.DataRecords.ConsumerParameters[30]Scaling_factor_consumer_1{TransiEnt.SystemGeneration.GridConstructor.DataRecords.ConsumerParameters() for i in 1:30}Consumer parameters and scaling factors in upper row
TransiEnt.SystemGeneration.GridConstructor.DataRecords.ConsumerParameters[30]Scaling_factor_consumer_2{TransiEnt.SystemGeneration.GridConstructor.DataRecords.ConsumerParameters() for i in 1:30}Consumer parameters and scaling factors lower row
System layout
Booleansecond_rowfalse|System layout|Activate second row of consumers
Boolean[:]second_Consumerfill(false, n_elements)Activate/deactivate buildings in second row
Systems
TransiEnt.SystemGeneration.GridConstructor.DataRecords.TechnologyMatrix[30]Technologies_1{TransiEnt.SystemGeneration.GridConstructor.DataRecords.TechnologyMatrix() for i in 1:30}Technologies in upper row
TransiEnt.SystemGeneration.GridConstructor.DataRecords.TechnologyMatrix[30]Technologies_2{TransiEnt.SystemGeneration.GridConstructor.DataRecords.TechnologyMatrix() for i in 1:30}Technologies in lower row
Boiler
TransiEnt.SystemGeneration.GridConstructor.DataRecords.BoilerParameters[30]BoilerParameters_1{TransiEnt.SystemGeneration.GridConstructor.DataRecords.BoilerParameters() for i in 1:30}Boiler parameters
TransiEnt.SystemGeneration.GridConstructor.DataRecords.BoilerParameters[30]BoilerParameters_2{TransiEnt.SystemGeneration.GridConstructor.DataRecords.BoilerParameters() for i in 1:30}Boiler parameters
PV
TransiEnt.SystemGeneration.GridConstructor.DataRecords.PVParameters[30]PVParameters_1{TransiEnt.SystemGeneration.GridConstructor.DataRecords.PVParameters() for i in 1:30}PV parameters
TransiEnt.SystemGeneration.GridConstructor.DataRecords.PVParameters[30]PVParameters_2{TransiEnt.SystemGeneration.GridConstructor.DataRecords.PVParameters() for i in 1:30}PV parameters
HeatPump
TransiEnt.SystemGeneration.GridConstructor.DataRecords.HeatPumpParameters[30]HeatPumpParameters_1{TransiEnt.SystemGeneration.GridConstructor.DataRecords.HeatPumpParameters() for i in 1:30}Heat pump parameters in upper row
TransiEnt.SystemGeneration.GridConstructor.DataRecords.HeatPumpParameters[30]HeatPumpParameters_2{TransiEnt.SystemGeneration.GridConstructor.DataRecords.HeatPumpParameters() for i in 1:30}Heat pump parameters lower row
Consumer › Electrical
Real[:]cosphifill(simCenter.cosphi, n_elements)Reactive power factor
CHP
TransiEnt.SystemGeneration.GridConstructor.DataRecords.CHPParameters[30]CHPParameters_1{TransiEnt.SystemGeneration.GridConstructor.DataRecords.CHPParameters() for i in 1:30}CHP parameters in upper row
TransiEnt.SystemGeneration.GridConstructor.DataRecords.CHPParameters[30]CHPParameters_2{TransiEnt.SystemGeneration.GridConstructor.DataRecords.CHPParameters() for i in 1:30}CHP parameters lower row
SolarThermal
TransiEnt.SystemGeneration.GridConstructor.DataRecords.SolarHeatingParameters[30]SolarHeatingParameters_1{TransiEnt.SystemGeneration.GridConstructor.DataRecords.SolarHeatingParameters() for i in 1:30}Solar heating parameters in upper row
TransiEnt.SystemGeneration.GridConstructor.DataRecords.SolarHeatingParameters[30]SolarHeatingParameters_2{TransiEnt.SystemGeneration.GridConstructor.DataRecords.SolarHeatingParameters() for i in 1:30}Solar heating parameters lower row
Cables and Piping
TransiEnt.SystemGeneration.GridConstructor.DataRecords.CablePipeParameters[30]CablePipeParameters{TransiEnt.SystemGeneration.GridConstructor.DataRecords.CablePipeParameters() for i in 1:30}Parameters of cables and piping
PV › Location parameters
ReallambdasimCenter.lambdadegree of longitude of location
RealphisimCenter.phidegree of latitude of location
RealtimezonesimCenter.timezonetimezone of location (UTC+) - for Hamburg timezone=1
SolarThermal › Location parameters
Reallatitude_STsimCenter.phiDegree of latitude of the local position, north posiive, 53,55 North for Hamburg
Reallongitude_standard_STsimCenter.timezone*15needed for calculation of coordinated universal time (utc), 15 for central european time, 30 for central european summer time
Reallongitude_STsimCenter.lambdaDegree of longitude of the local position, east positive, 10 East for Hamburg
DHN
TransiEnt.SystemGeneration.GridConstructor.DataRecords.DHNParameters[30]DHNParameters_Main{TransiEnt.SystemGeneration.GridConstructor.DataRecords.DHNParameters() for i in 1:30}Parameters of main pipes
TransiEnt.SystemGeneration.GridConstructor.DataRecords.DHNParameters[30]DHNParameters_Consumer_1{TransiEnt.SystemGeneration.GridConstructor.DataRecords.DHNParameters() for i in 1:30}Parameters of house pipes for top Consumer
TransiEnt.SystemGeneration.GridConstructor.DataRecords.DHNParameters[30]DHNParameters_Consumer_2{TransiEnt.SystemGeneration.GridConstructor.DataRecords.DHNParameters() for i in 1:30}Parameters of house pipes for bottom Consumer
DHN › HeatTransfer
ClaRa.Basics.Units.ThermalConductivity[:]dhn_lambda_insulationfill(0.023, n_elements)Thermal conductivity of insulation material

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.Gas.RealGasPortIngasPortIn (from PartialGridCell)
TransiEnt.Basics.Interfaces.Gas.RealGasPortOutgasPortOut (from PartialGridCell)
TransiEnt.Basics.Interfaces.Electrical.ApparentPowerPortepp_p (from PartialGridCell)
TransiEnt.Basics.Interfaces.Electrical.ApparentPowerPortepp_n (from PartialGridCell)
TransiEnt.Basics.Interfaces.Thermal.FluidPortInwaterPortIn_supply (from PartialGridCell)Inlet port
TransiEnt.Basics.Interfaces.Thermal.FluidPortOutwaterPortOut_supply (from PartialGridCell)Outlet port
TransiEnt.Basics.Interfaces.Thermal.FluidPortOutwaterPortOut_return (from PartialGridCell)Outlet port
TransiEnt.Basics.Interfaces.Thermal.FluidPortInwaterPortIn_return (from PartialGridCell)Inlet port

Components

TypeNameDefaultDescription
TransiEnt.SimCentersimCenter (from PartialGridCell)
SI.TemperatureT_source_groundsimCenter.T_groundTemperature of ground as heat source
SI.TemperatureT_source_ambientsimCenter.ambientConditions.temperature.value + 273.15Temperature of ambient air as heat source
SI.TemperatureT_source_constant283.15Constant heat source temperature
SI.TemperatureT_source_other283.15Other heat source temperature
TransiEnt.SystemGeneration.GridConstructor.GridElement[n_elements]Basic_Grid_Elements

Contents

NameDescription
Demand_Consumer_1
Demand_Consumer_2
HeatTransfer
Systems_Consumer_1
Systems_Consumer_2