modelPIController

Two coupled PI controllers for CHP control

Information

Overview

This is model consists of two PI controllers to control the system both when in operation as well as when shutting down.

Concept

Because changing the controller signal from a certain value to zero is not continuous it will result in unstabilities in the simulation. Therefore, two controllers are implemented. One for the operation as a normal controller and one that change the output signal smoothly from the output of the other controller to zero.

Parameters

TypeNameDefaultDescription
RealKcGain of the controller
Modelica.Units.SI.TimeTcTime constant (T>0 required)
RealminCapacityMinimum controller output in load operation

Components

TypeNameDefaultDescription
Modelica.Blocks.Logical.Switchswitch1
Modelica.Blocks.Continuous.LimPIDPIPI controller
Modelica.Blocks.Continuous.LimPIDPI1Limited PI controller
Modelica.Blocks.Discrete.TriggeredSamplertriggeredSampler
Modelica.Blocks.Discrete.TriggeredSamplertriggeredSampler2
Modelica.Blocks.Logical.TriggeredTrapezoidtriggeredTrapezoid
Modelica.Blocks.Logical.Switchswitch3
Modelica.Blocks.Math.Productproduct
Modelica.Blocks.Logical.Switchswitch2
Modelica.Blocks.Interfaces.RealOutputyController output signal
Modelica.Blocks.Interfaces.RealInputsetpoint
Modelica.Blocks.Interfaces.BooleanInputonConnector of boolean input signal
Modelica.Blocks.Logical.Notnot1
Modelica.Blocks.Interfaces.RealInputmeasurementConnector of second real input signal

Revisions

  • December 08, 2016  by Moritz Lauster:
    Adapted to AixLib conventions
  • October 11, 2016  by Pooyan Jahangiri:
    Variable names updated and merged with AixLib
  • January 23, 2014  by Pooyan Jahangiri:
    Formatted documentation appropriately
  • January 31, 2011 by Pooyan Jahangiri:
    Implemented