modelgeothermalFieldController

Controls the heat exchange with a heat or cold source by setting two valves

Information

This is a model of a controller, which manipulates the opening of two valves. If the measured temperature drops below the lower thrshold, the first valve is fully closed and the second valve is fully opened. The opposite constellation applies if the temperature exceeds the higher threshold. To avoid zero mass flow rates, the opening is only close 0. Additionally, a delay can be set so that the valves do not react simultaneously (opened valve is closed first). It can be used in AixLib.Fluid.Examples.GeothermalHeatPump.Components.GeothermalHeatPump.

  • May 24, 2017, by Alexander Kümpel:
    Delay improved.
  • May 19, 2017, by Marc Baranski:
    First implementation.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.Temperaturetemperature_low273.15 + 40Lower temperature threshold for hysteresis
Modelica.Units.SI.Temperaturetemperature_high273.15 + 45Upper temperature threshold for hysteresis
BooleanwarmSidetruetrue = hysteresis with negation = for warm side
Modelica.Units.SI.TimedelayTime10Time delay between opening of valve 1 and 2

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputtemperatureTemperature of the controlled flow
Modelica.Blocks.Interfaces.RealOutputvalveOpening1Actuator position (0: closed, 1: open)
Modelica.Blocks.Interfaces.RealOutputvalveOpening2Actuator position (0: closed, 1: open)

Components

TypeNameDefaultDescription
Modelica.Blocks.Logical.SwitchswitchSwitches between fully opened and fully closed
Modelica.Blocks.Nonlinear.FixedDelayfixedDelayDelay that prevents that both valves react simultaneously
Modelica.Blocks.Math.AddaddIf one valve is fully openend, the other one must be fully closed
Modelica.Blocks.Logical.HysteresishysteresisChecks if the temperature is too high or too low
Modelica.Blocks.Sources.ConstantapproxFullyClosedUsed for closing a valve almost fully
Modelica.Blocks.Sources.ConstantapproxFullyOpenedUsed for opening a valve almost fully
Modelica.Blocks.Logical.Switchswitch1Switches between delayed and direct opening
Modelica.Blocks.Logical.Switchswitch2Switches between delayed and direct opening
Modelica.Blocks.Nonlinear.FixedDelayfixedDelay1Delay that prevents that both valves react simultaneously
Modelica.Blocks.Sources.ConstantfullOpeningUsed for opening a valve fully