Update cookies preferences
Promotic

Preconfiguration "Solar electricity production prediction"

The service (https://doc.forecast.solar/api:estimate) allows you to predict PV electricity production based on the weather forecast for a given location (GPS coordinates of the power plant) and the specified technical parameters of the solar power plant.
The service in free mode is limited:
- Number of 12 queries per hour.
- Predictions for this day and the next day only.
- Services requiring a paid ApiKey key are not available.


This preconfiguration can be activated when creating a new object (e.g. by "New object ..." in the context menu of the object or by pressing the Insert key after selecting the object).
 
This preconfiguration is included in the "/ Technology / Photovoltaics" group.
 
This preconfiguration can be created in the PmaFolder, PmaRoot or PmaPrototype object.

The preconfiguration creates an object of the PmaFolder type with subobjects PmaPanel named "Graph", PmaData and PmaSequencer.
 
In the PmaSequencer object at the beginning of the GetSolarData method there are variables for setting the parameters of the solar power plant. The following script communicates with the service and stores the obtained data in a file and a PmaData object. The communication repeats once per hour.
 
The panel contains four graphs that show the projected future electricity production from the data. The panel can be switched between light and dark backgrounds.
 
The preconfiguration is created including the panel (object of the PmaPanel type) is functional also as Web panel.
 
These configurators can be set before the preconfiguration is created:
The name of created objectName of the object created in the Pma object tree.
The maximum name length is 30 characters.
This is a system name, so it must contain only alphanumeric and must not contain any diacritics (i.e. national dependent characters), empty string, spaces and first character must not be a number.
Default: "SolarGraphsEstimate"
Personal API key for registered usersThe personal key is not required in the limited free mode. See:
 
https://doc.forecast.solar/api:estimate
Latitude of locationLatitude of location, -90 (south) … 90 (north); precission of 0.0001 or abt. 10 m
Longitude of locationLongitude of location, -180 (west) … 180 (east); precission of 0.0001 or abt. 10 m
Panel tilt angle 0=horizontal, 90=verticalPlane declination, 0 (horizontal) … 90 (vertical) - always in relation to the earth's surface
Panel orientation (-90 = east, 0 = south, 90 = west)Plane azimuth, -180 … 180 (-180 = north, -90 = east, 0 = south, 90 = west, 180 = north)
Installed power in kilowattsInstalled modules power in kilo watt
Dark panel backgroundLight or dark panel background
Enable as Web componentSpecifies whether this object has to be registered as a Web server component
After the preconfiguration is created, the "PmaPanel > Web server > Enable as Web component" configurator will be set to this value.
PmaWeb objectPath in the Pma object tree to the object PmaWeb, PmaWebFolder or PmaWebLang where the registration is carried out.
Macro expression can be used for input (it is evaluated after the application is launched).
After the preconfiguration is created, the "PmaPanel > Web server > PmaWeb object" configurator will be set to this value.

History:
Pm9.00.30: Created
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
Navigation:
 
 
- Solar electricity production prediction
 
 
© MICROSYS, spol. s r.o.