modelGeothermalHeatPump

Example of a geothermal heat pump system

Extends from Modelica.Icons.Example (Icon for runnable examples), AixLib.Fluid.Examples.GeothermalHeatPump.BaseClasses.GeothermalHeatPumpControlledBase (Example of a geothermal heat pump system with controllers).

Information

Simple stand-alone model of a combined heat and cold supply system. The geothermal heat pump can either transport heat

  • from the cold to the heat storage
  • from the cold storage to the geothermal field (heat storage disconnected)
  • from the geothermal field to the heat storage

In the flow line of the heating circuit a boiler is connected as a peak load device. Consumers are modeled as sinks are sources with a constant temperature.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.MassFlowRatem_flow_nominal_layer (from GeothermalHeatPumpBase)0.5Nominal mass flow rate in layers of storages
Modelica.Units.SI.MassFlowRatem_flow_nominal_HE (from GeothermalHeatPumpBase)0.5Nominal mass flow rate of heat exchanger layers of storages
Modelica.Units.SI.TemperatureT_start_cold (from GeothermalHeatPumpBase)300Initial temperature of cold components
Modelica.Units.SI.TemperatureT_start_hot (from GeothermalHeatPumpBase)300Initial temperature of warm components
Dynamics
Modelica.Fluid.Types.DynamicsenergyDynamics (from GeothermalHeatPumpBase)Modelica.Fluid.Types.Dynamics.FixedInitialType of energy balance: dynamic (3 initialization options) or steady state

Connectors

TypeNameDefaultDescription
HeatPumps.ModularReversible.BaseClasses.RefrigerantMachineControlBusheatPumpControlBus (from GeothermalHeatPumpBase)
Modelica.Blocks.Interfaces.RealOutputcoldStorageTemperature (from GeothermalHeatPumpControlledBase)Temperature in the cold storage
Modelica.Blocks.Interfaces.RealOutputheatStorageTemperature (from GeothermalHeatPumpControlledBase)Temperature in the heat storage
Modelica.Blocks.Interfaces.RealOutputchemicalEnergyFlowRate (from GeothermalHeatPumpControlledBase)Flow of primary (chemical) energy into boiler
Modelica.Blocks.Interfaces.RealOutputheatPumpPower (from GeothermalHeatPumpControlledBase)Electrical power of the heat pump

Components

TypeNameDefaultDescription
PeakLoadDeviceModelpeaLoaDev (from GeothermalHeatPumpBase)
Storage.StorageDetailedcoldStorage (from GeothermalHeatPumpBase)Storage tank for buffering cold demand
FixedResistances.PressureDropresistanceColdStorage (from GeothermalHeatPumpBase)Resistance in evaporator circuit
AixLib.Fluid.Sources.Boundary_pTgeothFieldSource (from GeothermalHeatPumpBase)Source representing geothermal field
FixedResistances.PressureDropresistanceGeothermalSource (from GeothermalHeatPumpBase)Resistance in geothermal field circuit
FixedResistances.PressureDropresistanceColdConsumerFlow (from GeothermalHeatPumpBase)Resistance in cold consumer flow line
Actuators.Valves.TwoWayQuickOpeningvalveHeatSink (from GeothermalHeatPumpBase)Valve connecting geothermal field to the condenser of the heat pump
Actuators.Valves.TwoWayQuickOpeningvalveHeatSource (from GeothermalHeatPumpBase)Valve connecting geothermal field to the evaporator of the heat pump
AixLib.Fluid.Storage.StorageDetailedheatStorage (from GeothermalHeatPumpBase)Storage tank for buffering heat demand
AixLib.Fluid.FixedResistances.PressureDropresistanceHeatStorage (from GeothermalHeatPumpBase)Resistance in condenser circuit
AixLib.Fluid.Sources.Boundary_pTgeothField_sink1 (from GeothermalHeatPumpBase)One of two sinks representing geothermal field
AixLib.Fluid.FixedResistances.PressureDropresistanceHeatConsumerFlow (from GeothermalHeatPumpBase)Resistance in heat consumer flow line
AixLib.Fluid.Actuators.Valves.TwoWayQuickOpeningvalveColdStorage (from GeothermalHeatPumpBase)Valve connecting cold storage to the evaporator of the heat pump
AixLib.Fluid.Actuators.Valves.TwoWayQuickOpeningvalveHeatStorage (from GeothermalHeatPumpBase)Valve connecting heat storage to the condenser of the heat pump
AixLib.Fluid.Movers.FlowControlled_dppumpColdConsumer (from GeothermalHeatPumpBase)Pump moving fluid from storage tank to cold consumers
AixLib.Fluid.Movers.FlowControlled_dppumpHeatConsumer (from GeothermalHeatPumpBase)Pump moving fluid from storage tank to heat consumers
AixLib.Fluid.FixedResistances.PressureDropresistanceColdConsumerReturn (from GeothermalHeatPumpBase)Resistance in cold consumer return line
AixLib.Fluid.FixedResistances.PressureDropresistanceHeatConsumerReturn (from GeothermalHeatPumpBase)Resistance in heat consumer return line
AixLib.Fluid.Movers.FlowControlled_dppumpCondenser (from GeothermalHeatPumpBase)Pump moving fluid from storage tank to condenser of heat pump
AixLib.Fluid.Movers.FlowControlled_dppumpEvaporator (from GeothermalHeatPumpBase)Pump moving fluid from storage tank to evaporator of heat pump
AixLib.Fluid.Movers.FlowControlled_dppumpGeothermalSource (from GeothermalHeatPumpBase)Pump moving fluid from geothermal source into system
AixLib.Fluid.HeatPumps.ModularReversible.ModularheatPump (from GeothermalHeatPumpBase)
Modelica.Blocks.Sources.RealExpressiongetTStorageUpper (from GeothermalHeatPumpControlledBase)Gets the temperature of upper heat storage layer
Modelica.Blocks.Sources.RealExpressiongetTStorageLower (from GeothermalHeatPumpControlledBase)Gets the temperature of lower cold storage layer
Modelica.Fluid.Systemsystem (from GeothermalHeatPumpControlledBase)
Sources.Boundary_pTcoldConsumerFlow
Sources.Boundary_pTheatConsumerFlowSink representing heat consumer
Sources.Boundary_pTheatConsumerReturnSource representing heat consumer
Sources.Boundary_pTcoldConsumerReturnSource representing cold consumer
Modelica.Blocks.Sources.ConstantpressureDifferencePressure difference used for all pumps
Controls.HeatPump.TwoPointControlledHPtwoPointControlledHPControls the temperature in the heat storage by switching the heat pump on or off
Modelica.Blocks.Sources.ConstantTStorageSetSet point of upper heat storage temperature
Control.geothermalFieldControllergeothermalFieldControllerColdControls the heat exchange with the geothermal field and the heat storage
Control.geothermalFieldControllergeothermalFieldControllerHeatControls the heat exchange with the geothermal field and the heat storage
Modelica.Blocks.Sources.BooleanConstantmodeDummy signal for unit mode, true: heat pump, false: chiller

Revisions

  • May 5, 2021 by Fabian Wüllhorst:
    Use new heat pump model and add simulate and plot script. (see issue #1093)
  • May 19, 2017, by Marc Baranski:
    First implementation.