odys.domain.profiles¶
Typed time-series profiles. Each profile references the entity it belongs to: LoadProfile a fixed load, FlexibleLoadProfile a flexible load, AvailableCapacityProfile a generator, and PriceProfile a market.
See Each one is a profile in the User Guide.
Typed time-series profiles that scenarios attach to entities.
A profile is the exogenous time series of one entity in one scenario. Each profile type references the kind of entity it belongs to, so a profile cannot be attached to the wrong kind of asset or market.
AvailableCapacityProfile
¶
Bases: SeriesProfile
Available capacity of a generator, in MW per timestep.
Each value must lie between 0 and the generator's nominal power. A generator without this profile can produce up to its nominal power.
Source code in src/odys/domain/profiles.py
173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 | |
entity
property
¶
Return the generator this capacity belongs to.
FlexibleLoadProfile
¶
Bases: Profile
The range a flexible load may consume in, in MW per timestep.
At every step the optimizer chooses the load's consumption between
lower_bound and upper_bound. Both bounds are at least 0, the lower
one is at most the upper one, and they lie within the load's min_load
and max_load when those are set.
Source code in src/odys/domain/profiles.py
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 | |
LoadProfile
¶
Bases: SeriesProfile
Power demand of a fixed load, in MW per timestep: the demand that must be met.
Source code in src/odys/domain/profiles.py
74 75 76 77 78 79 80 81 82 83 84 85 | |
entity
property
¶
Return the load this demand belongs to.
PriceProfile
¶
Bases: SeriesProfile
Energy price of a market, in currency per MWh per timestep.
Source code in src/odys/domain/profiles.py
202 203 204 205 206 207 208 209 210 211 212 213 | |
entity
property
¶
Return the market this price belongs to.
Profile
¶
Bases: BaseModel, ABC
The exogenous time series of one entity, with one value per timestep in each series.
Each profile type declares the entity types it applies to and whether every such entity needs one in every scenario.
Source code in src/odys/domain/profiles.py
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | |
SeriesProfile
¶
Bases: Profile, ABC
A profile with a single time series, values.
Source code in src/odys/domain/profiles.py
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | |