DC Transmission Lines
E4ST.DCLine
— Typestruct DCLine <: Modification
DCLine(;file)
This Modification
takes in a file representing the dc lines to add to the model. See summarize_table(::Val{:dc_line})
for info on the table.
This creates a single variable for each dc line (at each point in time), and adds it to pbal_bus
of the t_bus_idx
, and subtracts it from the f_bus_idx
. Represents a lossless transfer of power, ignoring voltage angle requirements.
Interfaces Implemented
modify_raw_data!(mod::DCLine, config, data)
- loadsmod.file => data[:dc_line]
modify_model!(mod::DCLine, config, data, model)
- Add dc lines to the model fromdata[:dc_lines]
, creatingpflow_dc
variables, and adding/subtracting to the correspondingpflow_bus
variables.
E4ST.modify_raw_data!
— Methodmodify_raw_data!(mod::DCLine, config, data)
Loads mod.file => data[:dc_line]
E4ST.modify_model!
— Methodmodify_model!(mod::DCLine, config, data, model)
Add dc lines to the model from data[:dc_lines]
, creating pflow_dc
variables, and adding/subtracting to the corresponding pflow_bus
variables.
E4ST.summarize_table
— Methodsummarize_table(::Val{:dc_line})
column_name | data_type | unit | required | description |
---|---|---|---|---|
f_bus_idx | Int64 | E4ST.NA | true | The index of the bus table that the line originates from |
t_bus_idx | Int64 | E4ST.NA | true | The index of the bus table that the line goes to |
status | Bool | E4ST.NA | false | Whether or not the dc line is in service |
pflow_max | Float64 | E4ST.MWFlow | true | Maximum power flowing through the dc line |