mirror of
https://github.com/ANL-CEEESA/UnitCommitment.jl.git
synced 2025-12-06 08:18:51 -06:00
Remove unused 'reactance' field
This commit is contained in:
@@ -281,8 +281,7 @@ This section describes the characteristics of transmission system, such as its t
|
||||
| :--------------------- | :----------------------------------------------- | ------- | :------------: | :---:
|
||||
| `Source bus` | Identifier of the bus where the transmission line originates. | Required | No | Yes
|
||||
| `Target bus` | Identifier of the bus where the transmission line reaches. | Required | No | Yes
|
||||
| `Reactance (ohms)` | Reactance of the transmission line (in ohms). | Required | No | Yes
|
||||
| `Susceptance (S)` | Susceptance of the transmission line (in siemens). | Required | No | Yes
|
||||
| `Susceptance (S)` | Susceptance of the transmission line (in siemens). | Required | No | Yes
|
||||
| `Normal flow limit (MW)` | Maximum amount of power (in MW) allowed to flow through the line when the system is in its regular, fully-operational state. | `+inf` | Yes | Yes
|
||||
| `Emergency flow limit (MW)` | Maximum amount of power (in MW) allowed to flow through the line when the system is in degraded state (for example, after the failure of another transmission line). | `+inf` | Y | Yes
|
||||
| `Flow limit penalty ($/MW)` | Penalty for violating the flow limits of the transmission line (in $/MW). This is charged per time step. For example, if there is a thermal violation of 1 MW for three time steps, then three times this amount will be charged. | `5000.0` | Yes | Yes
|
||||
@@ -295,7 +294,6 @@ This section describes the characteristics of transmission system, such as its t
|
||||
"l1": {
|
||||
"Source bus": "b1",
|
||||
"Target bus": "b2",
|
||||
"Reactance (ohms)": 0.05917,
|
||||
"Susceptance (S)": 29.49686,
|
||||
"Normal flow limit (MW)": 15000.0,
|
||||
"Emergency flow limit (MW)": 20000.0,
|
||||
|
||||
@@ -354,7 +354,6 @@ function _from_json(json; repair = true)::UnitCommitmentScenario
|
||||
length(lines) + 1,
|
||||
name_to_bus[dict["Source bus"]],
|
||||
name_to_bus[dict["Target bus"]],
|
||||
scalar(dict["Reactance (ohms)"]),
|
||||
scalar(dict["Susceptance (S)"]),
|
||||
timeseries(
|
||||
dict["Normal flow limit (MW)"],
|
||||
|
||||
@@ -56,7 +56,6 @@ mutable struct TransmissionLine
|
||||
offset::Int
|
||||
source::Bus
|
||||
target::Bus
|
||||
reactance::Float64
|
||||
susceptance::Float64
|
||||
normal_flow_limit::Vector{Float64}
|
||||
emergency_flow_limit::Vector{Float64}
|
||||
|
||||
@@ -26,7 +26,6 @@ function instance_read_test()
|
||||
@test sc.lines[5].name == "l5"
|
||||
@test sc.lines[5].source.name == "b2"
|
||||
@test sc.lines[5].target.name == "b5"
|
||||
@test sc.lines[5].reactance ≈ 0.17388
|
||||
@test sc.lines[5].susceptance ≈ 10.037550333
|
||||
@test sc.lines[5].normal_flow_limit == [1e8 for t in 1:4]
|
||||
@test sc.lines[5].emergency_flow_limit == [1e8 for t in 1:4]
|
||||
@@ -36,7 +35,6 @@ function instance_read_test()
|
||||
@test sc.lines[1].name == "l1"
|
||||
@test sc.lines[1].source.name == "b1"
|
||||
@test sc.lines[1].target.name == "b2"
|
||||
@test sc.lines[1].reactance ≈ 0.059170
|
||||
@test sc.lines[1].susceptance ≈ 29.496860773945
|
||||
@test sc.lines[1].normal_flow_limit == [300.0 for t in 1:4]
|
||||
@test sc.lines[1].emergency_flow_limit == [400.0 for t in 1:4]
|
||||
|
||||
Reference in New Issue
Block a user