modelPITemp

PI controller that can switch the output range of the controller

Information

Overview

Based on a model by Alexander Hoh with some modifications and the Modelica-Standard PI controller. If set to "on" it will controll the thermal port temperature to the target value (soll). If set to "off" the controller error will become zero and therefore the current output level of the PI controller will remain constant. When this switching occurs the TriggeredTrapezoid will level the current controller output down to zero in a selectable period of time.

  • April, 2016  by Peter Remmen:
    Moved from Utilities to Controls
  • October 7, 2013  by Ole Odendahl:
    Formatted documentation appropriately
  • by Peter Matthes:
    implemented

Parameters

TypeNameDefaultDescription
BooleanrangeSwitchfalseSwitch controller output range
Control
Realh1upper limit controller output
Reall0lower limit of controller output
RealKR1Gain
Modelica.Units.SI.TimeTN1Time Constant (T>0 required)

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputsetPoint
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPort
Modelica.Blocks.Interfaces.RealOutputy
Modelica.Blocks.Interfaces.BooleanInputonOffSwitches Controler on and off

Components

TypeNameDefaultDescription
Modelica.Blocks.Logical.Switchswitch2
Modelica.Blocks.Logical.TriggeredTrapezoidtriggeredTrapezoid
Modelica.Blocks.Math.Productproduct
Modelica.Blocks.Continuous.LimPIDPI
Modelica.Thermal.HeatTransfer.Sensors.TemperatureSensortemperatureSensor
Modelica.Blocks.Logical.Switchswitch1