@@ -17,15 +17,15 @@ import scala.deriving.Mirror
17
17
18
18
/** Runtime configurations for simona.
19
19
* @param em
20
- * runtime configs for energy management systems
20
+ * Runtime configs for energy management systems.
21
21
* @param listener
22
- * runtime listener configuration
22
+ * Runtime listener configuration.
23
23
* @param participant
24
- * runtime configuration
24
+ * Runtime configuration.
25
25
* @param selectedSubgrids
26
- * option for selected sub grids (default: None)
26
+ * Option for selected sub grids (default: None).
27
27
* @param selectedVoltLvls
28
- * option for selected voltage levels (default: None)
28
+ * Option for selected voltage levels (default: None).
29
29
*/
30
30
final case class RuntimeConfig (
31
31
em : AssetConfigs [EmRuntimeConfig ] = AssetConfigs (EmRuntimeConfig ()),
@@ -46,11 +46,11 @@ object RuntimeConfig {
46
46
/** Wraps an [[BaseRuntimeConfig ]] with a [[ParticipantRuntimeConfigs ]].
47
47
*
48
48
* @param config
49
- * to wrap
49
+ * To wrap.
50
50
* @tparam T
51
- * type of config
51
+ * Type of config.
52
52
* @return
53
- * a [[AssetConfigs ]]
53
+ * A [[AssetConfigs ]].
54
54
*/
55
55
implicit def wrap [T <: BaseRuntimeConfig ](config : T ): AssetConfigs [T ] =
56
56
AssetConfigs (config)
@@ -61,24 +61,27 @@ object RuntimeConfig {
61
61
) derives ConfigConvert
62
62
63
63
/** Runtime configurations for participants.
64
+ * @param bm
65
+ * Runtime configs for biomass power plants.
64
66
* @param evcs
65
- * runtime configs for electrical vehicle charging stations
67
+ * Runtime configs for electrical vehicle charging stations.
66
68
* @param fixedFeedIn
67
- * runtime configs for fixed feed ins
69
+ * Runtime configs for fixed feed ins.
68
70
* @param hp
69
- * runtime configs for heat pumps
71
+ * Runtime configs for heat pumps.
70
72
* @param load
71
- * runtime configs for loads
73
+ * Runtime configs for loads.
72
74
* @param pv
73
- * runtime configs for photovoltaic plants
75
+ * Runtime configs for photovoltaic plants.
74
76
* @param requestVoltageDeviationThreshold
75
- * threshold for the voltage deviation
77
+ * Threshold for the voltage deviation.
76
78
* @param storage
77
- * runtime configs for electrical storages
79
+ * Runtime configs for electrical storages.
78
80
* @param wec
79
- * runtime configs for wind energy converters
81
+ * Runtime configs for wind energy converters.
80
82
*/
81
83
final case class Participant (
84
+ bm : AssetConfigs [BmRuntimeConfig ] = BmRuntimeConfig (),
82
85
evcs : AssetConfigs [EvcsRuntimeConfig ] = EvcsRuntimeConfig (),
83
86
fixedFeedIn : AssetConfigs [FixedFeedInRuntimeConfig ] =
84
87
FixedFeedInRuntimeConfig (),
@@ -100,17 +103,17 @@ object RuntimeConfig {
100
103
101
104
/** Runtime configuration for electric vehicle charging stations.
102
105
* @param calculateMissingReactivePowerWithModel
103
- * if missing reactive power may be filled up with model function (default:
104
- * false)
106
+ * If missing reactive power may be filled up with model function (default:
107
+ * false).
105
108
* @param scaling
106
- * the scaling factor of the power output (default: 1.0)
109
+ * The scaling factor of the power output (default: 1.0).
107
110
* @param uuids
108
- * of the models that should use this config, for the default config this
109
- * value is ignored
111
+ * Of the models that should use this config, for the default config this
112
+ * value is ignored.
110
113
* @param chargingStrategy
111
- * the charging strategy to use
114
+ * The charging strategy to use.
112
115
* @param lowestEvSoc
113
- * the lowest SOC possible for EV batteries (inverse of max dod)
116
+ * The lowest SOC possible for EV batteries (inverse of max dod).
114
117
*/
115
118
final case class EvcsRuntimeConfig (
116
119
override val calculateMissingReactivePowerWithModel : Boolean = false ,
@@ -123,17 +126,17 @@ object RuntimeConfig {
123
126
124
127
/** Runtime configuration for energy management systems.
125
128
* @param calculateMissingReactivePowerWithModel
126
- * if missing reactive power may be filled up with model function (default:
127
- * false)
129
+ * If missing reactive power may be filled up with model function (default:
130
+ * false).
128
131
* @param scaling
129
- * the scaling factor of the power output (default: 1.0)
132
+ * The scaling factor of the power output (default: 1.0).
130
133
* @param uuids
131
- * of the models that should use this config, for the default config this
132
- * value is ignored
134
+ * Of the models that should use this config, for the default config this
135
+ * value is ignored.
133
136
* @param aggregateFlex
134
- * strategy for aggregating flexibilities (default: SELF_OPT_EXCL_REG)
137
+ * Strategy for aggregating flexibilities (default: SELF_OPT_EXCL_REG).
135
138
* @param curtailRegenerative
136
- * if regenerative generation can be curtailed (default: false)
139
+ * If regenerative generation can be curtailed (default: false).
137
140
*/
138
141
final case class EmRuntimeConfig (
139
142
override val calculateMissingReactivePowerWithModel : Boolean = false ,
@@ -146,13 +149,13 @@ object RuntimeConfig {
146
149
147
150
/** Runtime configuration for fixed feed ins.
148
151
* @param calculateMissingReactivePowerWithModel
149
- * if missing reactive power may be filled up with model function (default:
150
- * false)
152
+ * If missing reactive power may be filled up with model function (default:
153
+ * false).
151
154
* @param scaling
152
- * the scaling factor of the power output (default: 1.0)
155
+ * The scaling factor of the power output (default: 1.0).
153
156
* @param uuids
154
- * of the models that should use this config, for the default config this
155
- * value is ignored
157
+ * Of the models that should use this config, for the default config this
158
+ * value is ignored.
156
159
*/
157
160
final case class FixedFeedInRuntimeConfig (
158
161
override val calculateMissingReactivePowerWithModel : Boolean = false ,
@@ -163,13 +166,13 @@ object RuntimeConfig {
163
166
164
167
/** Runtime configuration for heat pumps.
165
168
* @param calculateMissingReactivePowerWithModel
166
- * if missing reactive power may be filled up with model function (default:
167
- * false)
169
+ * If missing reactive power may be filled up with model function (default:
170
+ * false).
168
171
* @param scaling
169
- * the scaling factor of the power output (default: 1.0)
172
+ * The scaling factor of the power output (default: 1.0).
170
173
* @param uuids
171
- * of the models that should use this config, for the default config this
172
- * value is ignored
174
+ * Of the models that should use this config, for the default config this
175
+ * value is ignored.
173
176
*/
174
177
final case class HpRuntimeConfig (
175
178
override val calculateMissingReactivePowerWithModel : Boolean = false ,
@@ -180,18 +183,18 @@ object RuntimeConfig {
180
183
181
184
/** Runtime configuration for loads.
182
185
* @param calculateMissingReactivePowerWithModel
183
- * if missing reactive power may be filled up with model function (default:
184
- * false)
186
+ * If missing reactive power may be filled up with model function (default:
187
+ * false).
185
188
* @param scaling
186
- * the scaling factor of the power output (default: 1.0)
189
+ * The scaling factor of the power output (default: 1.0).
187
190
* @param uuids
188
- * of the models that should use this config, for the default config this
189
- * value is ignored
191
+ * Of the models that should use this config, for the default config this
192
+ * value is ignored.
190
193
* @param modelBehaviour
191
- * the behaviour of the loads (default: fix)
194
+ * The behaviour of the loads (default: fix).
192
195
* @param reference
193
- * defined to which reference a load model behaviour might be scaled
194
- * (default: power)
196
+ * Defined to which reference a load model behaviour might be scaled
197
+ * (default: power).
195
198
*/
196
199
final case class LoadRuntimeConfig (
197
200
override val calculateMissingReactivePowerWithModel : Boolean = false ,
@@ -204,13 +207,13 @@ object RuntimeConfig {
204
207
205
208
/** Runtime configuration for photovoltaic plants.
206
209
* @param calculateMissingReactivePowerWithModel
207
- * if missing reactive power may be filled up with model function (default:
208
- * false)
210
+ * If missing reactive power may be filled up with model function (default:
211
+ * false).
209
212
* @param scaling
210
- * the scaling factor of the power output (default: 1.0)
213
+ * The scaling factor of the power output (default: 1.0).
211
214
* @param uuids
212
- * of the models that should use this config, for the default config this
213
- * value is ignored
215
+ * Of the models that should use this config, for the default config this
216
+ * value is ignored.
214
217
*/
215
218
final case class PvRuntimeConfig (
216
219
override val calculateMissingReactivePowerWithModel : Boolean = false ,
@@ -221,17 +224,17 @@ object RuntimeConfig {
221
224
222
225
/** Runtime configuration for electrical storages.
223
226
* @param calculateMissingReactivePowerWithModel
224
- * if missing reactive power may be filled up with model function (default:
225
- * false)
227
+ * If missing reactive power may be filled up with model function (default:
228
+ * false).
226
229
* @param scaling
227
- * the scaling factor of the power output (default: 1.0)
230
+ * The scaling factor of the power output (default: 1.0).
228
231
* @param uuids
229
- * of the models that should use this config, for the default config this
230
- * value is ignored
232
+ * Of the models that should use this config, for the default config this
233
+ * value is ignored.
231
234
* @param initialSoc
232
- * the initial state of charge in percent of the storage (default: 0.0)
235
+ * The initial state of charge in percent of the storage (default: 0.0).
233
236
* @param targetSoc
234
- * option for a targeted state of charge (default: None)
237
+ * Option for a targeted state of charge (default: None).
235
238
*/
236
239
final case class StorageRuntimeConfig (
237
240
override val calculateMissingReactivePowerWithModel : Boolean = false ,
@@ -244,18 +247,35 @@ object RuntimeConfig {
244
247
245
248
/** Runtime configuration for wind energy converters.
246
249
* @param calculateMissingReactivePowerWithModel
247
- * if missing reactive power may be filled up with model function (default:
248
- * false)
250
+ * If missing reactive power may be filled up with model function (default:
251
+ * false).
249
252
* @param scaling
250
- * the scaling factor of the power output (default: 1.0)
253
+ * The scaling factor of the power output (default: 1.0).
251
254
* @param uuids
252
- * of the models that should use this config, for the default config this
253
- * value is ignored
255
+ * Of the models that should use this config, for the default config this
256
+ * value is ignored.
254
257
*/
255
258
final case class WecRuntimeConfig (
256
259
override val calculateMissingReactivePowerWithModel : Boolean = false ,
257
260
override val scaling : Double = 1.0 ,
258
261
override val uuids : List [String ] = List .empty,
259
262
) extends BaseRuntimeConfig
260
263
derives ConfigConvert
264
+
265
+ /** Runtime configuration for biomass plants.
266
+ * @param calculateMissingReactivePowerWithModel
267
+ * If missing reactive power may be filled up with model function (default:
268
+ * false).
269
+ * @param scaling
270
+ * The scaling factor of the power output (default: 1.0).
271
+ * @param uuids
272
+ * Of the models that should use this config, for the default config this
273
+ * value is ignored.
274
+ */
275
+ final case class BmRuntimeConfig (
276
+ override val calculateMissingReactivePowerWithModel : Boolean = false ,
277
+ override val scaling : Double = 1.0 ,
278
+ override val uuids : List [String ] = List .empty,
279
+ ) extends BaseRuntimeConfig
280
+ derives ConfigConvert
261
281
}
0 commit comments