Skip to content

Commit

Permalink
ext simulation with storage
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Bao committed Jul 23, 2024
1 parent d36ea9a commit f6f8ba8
Show file tree
Hide file tree
Showing 26 changed files with 791 additions and 159 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
uuid;control_strategy;parent_em;id;operates_from;operates_until;operator
c3a7e9f5-b492-4c85-af2d-1e93f6a25443;self_optimization;;EM_HH_Bus_25;;;
f9dc7ce6-658c-4101-a12f-d58bb889286b;self_optimization;;EM_HH_Bus_81;;;
957938b7-0476-4fab-a1b3-6ce8615857b3;self_optimization;;EM_HH_Bus_110;;;
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
uuid,id,columnScheme,dataType
f9dc7ce6-658c-4101-a12f-d58bb889286b,EM_HH_Bus_81,p,result_participant
957938b7-0476-4fab-a1b3-6ce8615857b3,EM_HH_Bus_110,p,result_participant
c3a7e9f5-b492-4c85-af2d-1e93f6a25443,EM_HH_Bus_25,p,result_participant
f9dc7ce6-658c-4101-a12f-d58bb889286b,EM_HH_Bus_81/Schedule,p,input
957938b7-0476-4fab-a1b3-6ce8615857b3,EM_HH_Bus_110/Schedule,p,input
c3a7e9f5-b492-4c85-af2d-1e93f6a25443,EM_HH_Bus_25/Schedule,p,input

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
uuid;b;g;i_max;id;r;v_rated;x
9a8e9b63-af21-4c1b-8db7-fc2924f9610e;273.31899999999996;0.0;357.0;NAYY 4x240SE 0.6/1kV;0.1267;0.4;0.0797965
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
uuid;cos_phi_rated;dsm;e_cons_annual;id;load_profile;node;operates_from;operates_until;operator;q_characteristics;s_rated;em
c3434742-e4f0-49e5-baa7-c1e3045c732c;0.93;false;0.0;LV5.201 Load 64;h0;dc54bd8a-b7d8-4e99-adb0-d6ee5084241c;;;;"cosPhiFixed:{(0.0,0.93)}";0.2;f9dc7ce6-658c-4101-a12f-d58bb889286b
fd2e19b6-d5e3-4776-9456-8787a2160d9d;0.93;false;0.0;LV5.201 Load 74;h0;43040a39-8b6c-401f-9dfd-82b42aa6dec6;;;;"cosPhiFixed:{(0.0,0.93)}";1.1;c3a7e9f5-b492-4c85-af2d-1e93f6a25443
98c1a2ab-bd09-4c77-a389-d088aed894b1;0.93;false;0.0;LV5.201 Load 102;h0;3e6be3ac-2b51-4080-b815-391313612fc7;;;;"cosPhiFixed:{(0.0,0.93)}";5.3;957938b7-0476-4fab-a1b3-6ce8615857b3

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
uuid;albedo;azimuth;cos_phi_rated;elevation_angle;eta_conv;id;k_g;k_t;market_reaction;node;operates_from;operates_until;operator;q_characteristics;s_rated;em
a1eb7fc1-3bee-4b65-a387-ef3046644bf0;0.20000000298023224;4.093344211578369;0.8999999761581421;37.69556427001953;97.0;LV5.201 PV 10;0.8999999761581421;1.0;false;dc54bd8a-b7d8-4e99-adb0-d6ee5084241c;;;;"cosPhiFixed:{(0.0,0.9)}";4.2;f9dc7ce6-658c-4101-a12f-d58bb889286b
de8cfef5-7620-4b9e-9a10-1faebb5a80c0;0.20000000298023224;4.093344211578369;0.8999999761581421;37.69556427001953;97.0;LV5.201 PV 11;0.8999999761581421;1.0;false;3e6be3ac-2b51-4080-b815-391313612fc7;;;;"cosPhiFixed:{(0.0,0.9)}";10.9;957938b7-0476-4fab-a1b3-6ce8615857b3
2560c371-f420-4c2a-b4e6-e04c11b64c03;0.20000000298023224;0.7802008390426636;0.8999999761581421;40.086585998535156;98.0;LV5.201 PV 15;0.8999999761581421;1.0;false;43040a39-8b6c-401f-9dfd-82b42aa6dec6;;;;"cosPhiFixed:{(0.0,0.9)}";2.9;c3a7e9f5-b492-4c85-af2d-1e93f6a25443
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
uuid;id;node;operates_from;operates_until;operator;q_characteristics;type;em
06b58276-8350-40fb-86c0-2414aa4a0452;LV5.201 Storage 64;dc54bd8a-b7d8-4e99-adb0-d6ee5084241c;;;;"cosPhiFixed:{(0.00,0.95)}";95d4c980-d9e1-4813-9f2a-b0942488a570;f9dc7ce6-658c-4101-a12f-d58bb889286b
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
uuid;active_power_gradient;capex;cos_phi_rated;e_storage;eta;id;opex;p_max;s_rated
95d4c980-d9e1-4813-9f2a-b0942488a570;1.0;0.0;0.96;8.0;93.0;Typ_1;0.65;4.0;4.166666666666667
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
uuid;auto_tap;id;node_a;node_b;operates_from;operates_until;operator;parallel_devices;tap_pos;type
adaba416-9b52-45df-9d91-f67d0dd28ecb;false;MV2.101-LV5.201-Trafo 1;ec8f2c82-a1b2-487c-b573-250859e3b414;4749ab2b-4d96-4100-8081-73e77c797d6b;;;;1;0;417407d2-1e74-4f37-9b64-f701f53f8842
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
uuid;b_m;d_phi;d_v;g_m;id;r_sc;s_rated;tap_max;tap_min;tap_neutr;tap_side;v_rated_a;v_rated_b;x_sc
417407d2-1e74-4f37-9b64-f701f53f8842;-36.47380569074435;0.0;2.5;4124.999999999999;0.63 MVA 20/0.4 kV Dyn5 ASEA;6.953892668178382;630.0;2;-2;0;false;20.0;0.4;37.45518044666632
Original file line number Diff line number Diff line change
@@ -0,0 +1,249 @@
include "../common/pekko.conf"

#########
# ATTENTION: Do not change this config file directly but use it as a base for your personal delta config for the
# vn_simona scenario! Delta configs can be created by including the config you want to change
# parameters from via include <path-to-config> (e.g. include "input/samples/vn_simona/vn_simona.conf") at the
# beginning of your config file and then just override the parameters you want to change!
#########

##################################################################
# Simulation Parameters
##################################################################
simona.simulationName = "simopsimtest"

##################################################################
# Time Parameters
##################################################################
simona.time.startDateTime = "2024-02-27T00:00:00Z"
simona.time.endDateTime = "2024-02-28T00:00:00Z"
simona.time.schedulerReadyCheckWindow = 900

##################################################################
# Input Parameters
##################################################################
simona.input.primary.csvParams = {
directoryPath: "simona/input/samples/simopsimtestgrid_reduced_with_storage/fullGrid"
csvSep: ";"
isHierarchic: false
}
simona.input.grid.datasource.id = "csv"
simona.input.grid.datasource.csvParams = {
directoryPath: "simona/input/samples/simopsimtestgrid_reduced_with_storage/fullGrid"
csvSep: ";"
isHierarchic: false
}

simona.input.weather.datasource = {
scheme = "icon"
sampleParams.use = true
coordinateSource.sampleParams.use = true
maxCoordinateDistance = 50000
}

##################################################################
# Output Parameters
##################################################################
simona.output.base.dir = "simona/output/simopsimtestgrid_reduced_with_storage"
simona.output.base.addTimestampToOutputDir = true

simona.output.sink.csv {
fileFormat = ".csv"
filePrefix = ""
fileSuffix = ""
}

simona.output.grid = {
notifier = "grid"
nodes = false
lines = false
switches = false
transformers2w = false
transformers3w = false
}
simona.output.participant.defaultConfig = {
notifier = "default"
powerRequestReply = false
simulationResult = true
}
simona.output.participant.individualConfigs = [
{
notifier = "pv"
powerRequestReply = false
simulationResult = true
},
{
notifier = "wec"
powerRequestReply = false
simulationResult = false
},
{
notifier = "evcs"
powerRequestReply = false
simulationResult = false
},
{
notifier = "bm"
powerRequestReply = false
simulationResult = false
},
{
notifier = "chp"
powerRequestReply = false
simulationResult = false
},
{
notifier = "ev"
powerRequestReply = false
simulationResult = false
},
{
notifier = "hp"
powerRequestReply = false
simulationResult = false
},
{
notifier = "storage"
powerRequestReply = false
simulationResult = true
},
{
notifier = "fixedFeedIn"
powerRequestReply = false
simulationResult = false
}
]
simona.output.thermal = {
defaultConfig = {
notifier = "default",
simulationResult = false
}
individualConfigs = [
{
notifier = "house",
simulationResult = false
}
]
}

##################################################################
# Runtime Configuration // todo refactor as this naming is misleading and partly unneeded
##################################################################
simona.runtime.selected_subgrids = []
simona.runtime.selected_volt_lvls = []

simona.runtime.participant.load = {
defaultConfig = {
calculateMissingReactivePowerWithModel = false
uuids = ["default"]
scaling = 1.0
modelBehaviour = "fix"
reference = "power"
}
individualConfigs = []
}

simona.runtime.participant.fixedFeedIn = {
defaultConfig = {
calculateMissingReactivePowerWithModel = false
uuids = ["default"]
scaling = 1.0
}
individualConfigs = []
}

simona.runtime.participant.pv = {
defaultConfig = {
calculateMissingReactivePowerWithModel = false
uuids = ["default"]
scaling = 1.0
}
individualConfigs = []
}

simona.runtime.participant.wec = {
defaultConfig = {
calculateMissingReactivePowerWithModel = false
uuids = ["default"]
scaling = 1.0
}
individualConfigs = []
}

simona.runtime.participant.evcs = {
defaultConfig = {
calculateMissingReactivePowerWithModel = false
uuids = ["default"]
scaling = 1.0
}
individualConfigs = []
}

simona.runtime.participant.hp = {
defaultConfig = {
calculateMissingReactivePowerWithModel = false
uuids = ["default"]
scaling = 1.0
}
individualConfigs = []
}

simona.runtime.participant.storage = {
defaultConfig = {
calculateMissingReactivePowerWithModel = false
uuids = ["default"]
scaling = 1.0
}
individualConfigs = []
}

# # # # #
# ATTENTION: calculateMissingReactivePowerWithModel and scaling is ignored here.
# # # # #
simona.runtime.participant.em = {
defaultConfig = {
calculateMissingReactivePowerWithModel = false
uuids = ["default"]
scaling = 1.0
}
individualConfigs = []
}

##################################################################
# Event Configuration
##################################################################
simona.event.listener = []

##################################################################
# Grid Configuration
##################################################################

simona.gridConfig.refSystems = [
{sNom = "100 kVA", vNom = "0.4 kV", voltLvls = [{id = "NS", vNom = "0.4 kV"}]},
{sNom = "60 MVA", vNom = "20 kV", voltLvls = [{id = "MS", vNom = "20 kV"}]},
{sNom = "600 MVA", vNom = "110 kV", voltLvls = [{id = "HS", vNom = "110 kV"}]},
{sNom = "1000 MVA", vNom = "380 kV", voltLvls = [{id = "HoeS", vNom = "380 kV"}]}
]

##################################################################
# Power Flow Configuration
##################################################################
simona.powerflow.maxSweepPowerDeviation = 1E-5 // the maximum allowed deviation in power between two sweeps, before overall convergence is assumed
simona.powerflow.newtonraphson.epsilon = [1E-12]
simona.powerflow.newtonraphson.iterations = 50
simona.powerflow.resolution = "87300s"
simona.powerflow.stopOnFailure = true

simona.control.transformer = [
{
transformers = ["31a2b9bf-e785-4475-aa44-1c34646e8c79"],
measurements = ["923f2d69-3093-4198-86e4-13d2d1c220f8"],
vMin = 0.98,
vMax = 1.02
}, {
transformers = ["1132dbf4-e8a1-44ae-8415-f42d4497aa1d"],
measurements = ["7686b818-a0ba-465c-8e4e-f7d3c4e171fc"],
vMin = 0.98,
vMax = 1.02
}
]
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
uuid,id,node,operates_from,operates_until,operator,q_characteristics,type,em
a2a92cfd-3492-465f-9587-e789f4620af8,Speicher_3,33f29587-f63e-45b7-960b-037bda37a3cb,,,,"cosPhiFixed:{(0.0,0.98)}",95d4c980-d9e1-4813-9f2a-b0942488a570,fd1a8de9-722a-4304-8799-e1e976d9979c
c96f0a90-980a-4813-b175-ecc04aded773,Speicher_4,401f37f8-6f2c-4564-bc78-6736cb9cbf8d,,,,"cosPhiFixed:{(0.0,0.98)}",95d4c980-d9e1-4813-9f2a-b0942488a570,ff0b995a-86ff-4f4d-987e-e475a64f2180
14 changes: 14 additions & 0 deletions input/samples/vn_simona_small_with_em/vn_simona_small_withem.conf
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ simona.output.participant.individualConfigs = [
notifier = "evcs"
powerRequestReply = false
simulationResult = true
},
{
notifier = "storage"
powerRequestReply = false
simulationResult = true
}
]
simona.output.thermal = {
Expand Down Expand Up @@ -158,6 +163,15 @@ simona.runtime.participant.hp = {
individualConfigs = []
}

simona.runtime.participant.storage = {
defaultConfig = {
calculateMissingReactivePowerWithModel = false
uuids = ["default"]
scaling = 1.0
}
individualConfigs = []
}

# # # # #
# ATTENTION: calculateMissingReactivePowerWithModel and scaling is ignored here.
# # # # #
Expand Down
Loading

0 comments on commit f6f8ba8

Please sign in to comment.