blockMPTrackerSample
Sampling maximum power tracker
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Information
This is a simple model of sampling maximum power tracker. The initial output of this tracker is maximum power voltage
VmpRef. After that, the sensed input power in sampled by a fixed sampling period. The output voltage is decreased by
a voltage step of VmpRef/n. If then then actual power is greater than the previous power, the sign of of voltage change
does not change. If the actual power is less than the previous power, the direction of the voltage change is swiched. This way
the sampling maximum power tracker is permanently searching for a local maximum.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Time | startTime | 0 | Start time |
| Modelica.Units.SI.Time | samplePeriod | 1 | Sample period |
| Modelica.Units.SI.Voltage | VmpRef | Reference maximum power power of plant | |
| Modelica.Units.SI.Current | ImpRef | Reference maximum power current of plant | |
| Integer | n | 100 | Number of voltage and power discretizations |
| Modelica.Units.SI.Voltage | dv | VmpRef/n | Voltage change and maximum deviation |
| Modelica.Units.SI.Power | dpower | VmpRef*ImpRef/n | Power change and maximum deviation |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | power | Power | |
| Modelica.Blocks.Interfaces.RealOutput | vRef | Reference DC voltage |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | firstTrigger | First boolean sample trigger signal | |
| Boolean | sampleTrigger | Boolean sample trigger signal | |
| Integer | counter | Sample counter | |
| Real | signv | Sign of voltage change |