PVSystems.Control.Interfaces

Common interfaces for control blocks

Information

    

Common interfaces for control blocks

Extends from Modelica.Icons.InterfacesPackage (Icon for packages containing interfaces).

Package Content

Name Description
PVSystems.Control.Interfaces.CPMInterface CPMInterface Common interface for averaged CPM block

PVSystems.Control.Interfaces.CPMInterface PVSystems.Control.Interfaces.CPMInterface

Common interface for averaged CPM block

PVSystems.Control.Interfaces.CPMInterface

Information

    

Common interface for averaged CPM block

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

Parameters

TypeNameDefaultDescription
InductanceL Equivalent inductance, referred to primary [H]
Frequencyfs Switching frequency [Hz]
VoltageVa Amplitude of the artificial ramp, Va=Rf*ma/fs [V]
ResistanceRf Equivalent current-sense resistance [Ohm]

Connectors

TypeNameDescription
input RealInputvcControl input, vc=Rf*ic
input RealInputvsSensed average inductor current vs=Rf*iL
input RealInputvm1Voltage across L in interval 1, slope m1=vm1/L
input RealInputvm2(-) Voltage across L in interval 2, slope m2=vm2/L
output RealOutputdDuty cycle

Modelica definition

partial model CPMInterface "Common interface for averaged CPM block" extends Modelica.Blocks.Icons.Block; parameter Modelica.SIunits.Inductance L "Equivalent inductance, referred to primary"; parameter Modelica.SIunits.Frequency fs "Switching frequency"; parameter Modelica.SIunits.Voltage Va "Amplitude of the artificial ramp, Va=Rf*ma/fs"; parameter Modelica.SIunits.Resistance Rf "Equivalent current-sense resistance"; Modelica.Blocks.Interfaces.RealInput vc "Control input, vc=Rf*ic"; Modelica.Blocks.Interfaces.RealInput vs "Sensed average inductor current vs=Rf*iL"; Modelica.Blocks.Interfaces.RealInput vm1 "Voltage across L in interval 1, slope m1=vm1/L"; Modelica.Blocks.Interfaces.RealInput vm2 "(-) Voltage across L in interval 2, slope m2=vm2/L"; Modelica.Blocks.Interfaces.RealOutput d "Duty cycle"; end CPMInterface;

Automatically generated Mon Sep 11 16:11:49 2017.