pv_pool
frequenz.sdk.timeseries.pv_pool ¤
Interactions with PV inverters.
Classes¤
frequenz.sdk.timeseries.pv_pool.PVPool ¤
An interface for interaction with pools of PV inverters.
Provides
- Aggregate
power
measurements of the PV inverters in the pool.
Source code in frequenz/sdk/timeseries/pv_pool/_pv_pool.py
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 |
|
Attributes¤
component_ids
property
¤
power
property
¤
power: FormulaEngine[Power]
Fetch the total power for the PV Inverters in the pool.
This formula produces values that are in the Passive Sign Convention (PSC).
If a formula engine to calculate PV Inverter power is not already running, it will be started.
A receiver from the formula engine can be created using the new_receiver
method.
RETURNS | DESCRIPTION |
---|---|
FormulaEngine[Power]
|
A FormulaEngine that will calculate and stream the total power of all PV Inverters. |
power_distribution_results
property
¤
power_distribution_results: ReceiverFetcher[Result]
Get a receiver to receive power distribution results.
RETURNS | DESCRIPTION |
---|---|
ReceiverFetcher[Result]
|
A receiver that will stream power distribution results for the pool's set of |
ReceiverFetcher[Result]
|
PV inverters. |
power_status
property
¤
power_status: ReceiverFetcher[PVPoolReport]
Get a receiver to receive new power status reports when they change.
These include - the current inclusion/exclusion bounds available for the pool's priority, - the current target power for the pool's set of batteries, - the result of the last distribution request for the pool's set of batteries.
RETURNS | DESCRIPTION |
---|---|
ReceiverFetcher[PVPoolReport]
|
A receiver that will stream power status reports for the pool's priority. |
Functions¤
__init__ ¤
Initialize the instance.
Note
PVPool
instances are not meant to be created directly by users. Use the
microgrid.new_pv_pool
method for
creating PVPool
instances.
PARAMETER | DESCRIPTION |
---|---|
pool_ref_store
|
The reference store for the PV pool.
TYPE:
|
name
|
The name of the PV pool.
TYPE:
|
priority
|
The priority of the PV pool.
TYPE:
|
Source code in frequenz/sdk/timeseries/pv_pool/_pv_pool.py
propose_power
async
¤
Send a proposal to the power manager for the pool's set of PV inverters.
This proposal is for the maximum power that can be set for the PV inverters in the pool. The actual production might be lower.
Power values need to follow the Passive Sign Convention (PSC). That is, positive values indicate charge power and negative values indicate discharge power. Only discharge powers are allowed for PV inverters.
Details on how the power manager handles proposals can be found in the Microgrid documentation.
PARAMETER | DESCRIPTION |
---|---|
power
|
The power to propose for the PV inverters in the pool. If
TYPE:
|
bounds
|
The power bounds for the proposal. When specified, this will limit the bounds for lower priority actors. |
RAISES | DESCRIPTION |
---|---|
PVPoolError
|
If a charge power for PV inverters is requested. |
Source code in frequenz/sdk/timeseries/pv_pool/_pv_pool.py
frequenz.sdk.timeseries.pv_pool.PVPoolError ¤
frequenz.sdk.timeseries.pv_pool.PVPoolReport ¤
Bases: Protocol
A status report for a PV pool.