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 a sampling maximum power tracker. The initial output of this tracker is the maximum power voltage
VmpRef. After that, the sensed input power is sampled with a fixed sampling period. The output voltage is decreased by
a voltage step of VmpRef/n. If then the actual power is greater than the previous power, the sign of the voltage change
does not change. If the actual power is less than the previous power, the direction of the voltage change is switched. 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 voltage 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 |