-
Notifications
You must be signed in to change notification settings - Fork 2
/
FollowRun.dss
58 lines (49 loc) · 2.46 KB
/
FollowRun.dss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
48
49
50
51
52
53
54
55
56
57
58
!Compile Circuit and add loadshapes to all loads
Redirect "..\..\..\IEEETestCases\8500-Node\Master-unbal.dss" ! From IEEE 8500 Buses TestCase Folder
BatchEdit CapControl..* enabled=False
BatchEdit RegControl..* enabled=False
New Monitor.m1_PQ Line.ln5815900-1 terminal=1 mode=1 ppolar=No
New LoadShape.loads_loadshape interval=0 npts=24 csvfile=[LoadShape1.CSV]
BatchEdit Load..* daily=loads_loadshape
! Inverter Efficiency Curve
New XYCurve.Eff npts = 4 xarray = [.1 .2 .4 1.0] yarray = [.86 .9 .93 .97]
!Storage fleet
New Storage.A phases=3 bus1=l3235258 kv=12.47 %idlingkW=1
~ kWhrated=500.0 %stored=70 kWrated=100.0 EffCurve=Eff vminpu=0.8 vmaxpu=1.2
New Storage.B phases=3 bus1=m1069483 kv=12.47 %idlingkW=1
~ kWhrated=1000.0 %stored=70 kWrated=200.0 EffCurve=Eff vminpu=0.8 vmaxpu=1.2
New Storage.C phases=3 bus1=p862322 kv=12.47 %idlingkW=1
~ kWhrated=1650.0 %stored=70 kWrated=350.0 EffCurve=Eff vminpu=0.8 vmaxpu=1.2
New Storage.D phases=3 bus1=m1047615 kv=12.47 %idlingkW=1
~ kWhrated=1250.0 %stored=70 kWrated=300.0 EffCurve=Eff vminpu=0.8 vmaxpu=1.2
New Storage.E phases=3 bus1=m1069556 kv=12.47 %idlingkW=1
~ kWhrated=500.0 %stored=70 kWrated=150.0 EffCurve=Eff vminpu=0.8 vmaxpu=1.2
New Storage.F phases=3 bus1=l2688692 kv=12.47 %idlingkW=1
~ kWhrated=1200.0 %stored=70 kWrated=200.0 EffCurve=Eff vminpu=0.8 vmaxpu=1.2
New Storage.G phases=3 bus1=m1089131 kv=12.47 %idlingkW=1
~ kWhrated=1250.0 %stored=70 kWrated=250.0 EffCurve=Eff vminpu=0.8 vmaxpu=1.2
New Monitor.storage_A_states element=Storage.A mode=3
New Monitor.storage_B_states element=Storage.B mode=3
New Monitor.storage_C_states element=Storage.C mode=3
New Monitor.storage_D_states element=Storage.D mode=3
New Monitor.storage_E_states element=Storage.E mode=3
New Monitor.storage_F_states element=Storage.F mode=3
New Monitor.storage_G_states element=Storage.G mode=3
New StorageController.SC element=Line.ln5815900-1 terminal=1 modedis=follow
~ MonPhase=AVG kwtarget=10200 modecharge=Time TimechargeTrigger=2 %rateCharge=50
~ timeDischargeTrigger=18 %reserve=20 eventlog=yes
!Solution Settings
Set maxcontroliter=50
Set mode=Daily
Set stepsize=1h
Set number=24
Solve
Export monitors m1_pq
Export Eventlog
Export monitors storage_A_states
Export monitors storage_B_states
Export monitors storage_C_states
Export monitors storage_D_states
Export monitors storage_E_states
Export monitors storage_F_states
Export monitors storage_G_states