Buildings.Experimental.DHC.EnergyTransferStations.Combined.Controls.BaseClasses

Package with base classes

Information

This package contains base classes that are used to construct the classes in Buildings.Experimental.DHC.EnergyTransferStations.Combined.Controls.

Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).

Package Content

Name Description
Buildings.Experimental.DHC.EnergyTransferStations.Combined.Controls.BaseClasses.PartialSupervisory PartialSupervisory Partial model for supervisory controller

Buildings.Experimental.DHC.EnergyTransferStations.Combined.Controls.BaseClasses.PartialSupervisory Buildings.Experimental.DHC.EnergyTransferStations.Combined.Controls.BaseClasses.PartialSupervisory

Partial model for supervisory controller

Buildings.Experimental.DHC.EnergyTransferStations.Combined.Controls.BaseClasses.PartialSupervisory

Information

This is a base class for the ETS supervisory controller.

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Parameters

TypeNameDefaultDescription
IntegernSouAmb Number of ambient sources to control

Connectors

TypeNameDescription
input BooleanInputuHeaHeating enable signal
input BooleanInputuCooCooling enable signal
input RealInputTChiWatSupPreSetChilled water supply temperature set point [K]
input RealInputTChiWatBotChilled water temperature at tank bottom [K]
input RealInputTHeaWatTopHeating water temperature at tank top [K]
input RealInputTHeaWatSupPreSetHeating water supply temperature set point [K]
output RealOutputTHeaWatSupSetHeating water supply temperature set point after reset [K]
output RealOutputTChiWatSupSetChilled water supply temperature set point after reset [K]
output RealOutputyValIsoEvaEvaporator to ambient loop isolation valve control signal [1]
output RealOutputyValIsoConCondenser to ambient loop isolation valve control signal [1]
output RealOutputyAmb[nSouAmb]Control output for ambient sources [1]
output BooleanOutputyHeaTank in heating demand
output BooleanOutputyCooTank in cooling demand

Modelica definition

partial block PartialSupervisory "Partial model for supervisory controller" extends Modelica.Blocks.Icons.Block; parameter Integer nSouAmb "Number of ambient sources to control"; Buildings.Controls.OBC.CDL.Interfaces.BooleanInput uHea "Heating enable signal"; Buildings.Controls.OBC.CDL.Interfaces.BooleanInput uCoo "Cooling enable signal"; Buildings.Controls.OBC.CDL.Interfaces.RealInput TChiWatSupPreSet( final unit="K", displayUnit="degC") "Chilled water supply temperature set point"; Buildings.Controls.OBC.CDL.Interfaces.RealInput TChiWatBot( final unit="K", displayUnit="degC") "Chilled water temperature at tank bottom"; Buildings.Controls.OBC.CDL.Interfaces.RealInput THeaWatTop( final unit="K", displayUnit="degC") "Heating water temperature at tank top"; Buildings.Controls.OBC.CDL.Interfaces.RealInput THeaWatSupPreSet( final unit="K", displayUnit="degC") "Heating water supply temperature set point"; Buildings.Controls.OBC.CDL.Interfaces.RealOutput THeaWatSupSet( final unit="K", displayUnit="degC") "Heating water supply temperature set point after reset"; Buildings.Controls.OBC.CDL.Interfaces.RealOutput TChiWatSupSet( final unit="K", displayUnit="degC") "Chilled water supply temperature set point after reset"; Buildings.Controls.OBC.CDL.Interfaces.RealOutput yValIsoEva( final unit="1") "Evaporator to ambient loop isolation valve control signal"; Buildings.Controls.OBC.CDL.Interfaces.RealOutput yValIsoCon( final unit="1") "Condenser to ambient loop isolation valve control signal"; Buildings.Controls.OBC.CDL.Interfaces.RealOutput yAmb[nSouAmb]( each final unit="1") "Control output for ambient sources"; Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput yHea "Tank in heating demand"; Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput yCoo "Tank in cooling demand"; Buildings.Controls.OBC.CDL.Logical.TrueFalseHold uHeaHol( trueHoldDuration=900) "Hold heating enable signal"; Buildings.Controls.OBC.CDL.Logical.TrueFalseHold uCooHol( trueHoldDuration=900) "Hold cooling enable signal"; equation connect(uHea,uHeaHol.u); connect(uCoo,uCooHol.u); end PartialSupervisory;