Skip to content

Commit

Permalink
Merge pull request #51 from pesap/master
Browse files Browse the repository at this point in the history
Updating testing HPS to a more realistic asset with no inflow or outflow.
  • Loading branch information
jd-lara authored Mar 29, 2024
2 parents 3b2f71f + f94ea75 commit 5f5815a
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions psy_data/data_5bus_pu.jl
Original file line number Diff line number Diff line change
Expand Up @@ -730,33 +730,35 @@ hydro_generators5_ems(nodes5) = [
),
];


# Modeling a 50 MW with 10 hours of duration.
phes5(nodes5) = [
HydroPumpedStorage(
name = "HydroPumpedStorage",
available = true,
bus = nodes5[3],
active_power = 0.0,
reactive_power = 0.0,
rating = 5.0,
base_power = 100.0,
rating = 1.0,
base_power = 50.0,
prime_mover_type = PrimeMovers.HY,
active_power_limits = (min = 0.0, max = 5.0),
reactive_power_limits = (min = 0.0, max = 5.0),
ramp_limits = (up = 10.0 * 0.5, down = 10.0 * 0.5),
active_power_limits = (min = 0.0, max = 1),
reactive_power_limits = (min = 0.0, max = 1),
ramp_limits = (up = 0.1, down = 0.1),
time_limits = nothing,
operation_cost = TwoPartCost(0.15, 0.0),
rating_pump = 0.2,
active_power_limits_pump = (min = 0.0, max = 10.0),
reactive_power_limits_pump = (min = 0.0, max = 10.0),
ramp_limits_pump = (up = 10.0 * 0.6, down = 10.0 * 0.6),
rating_pump = 1,
active_power_limits_pump = (min = 0.0, max = 1),
reactive_power_limits_pump = nothing,
ramp_limits_pump = (up = 1, down = 1),
time_limits_pump = nothing,
storage_capacity = (up = 25.0, down = 25.0), # 50 pu * hr (i.e. 5 GWh)
inflow = 3.0,
outflow = 1.0,
initial_storage = (up = 0.5, down = 0.5),
storage_target = (up = 0.5, down = 0.75),
storage_capacity = (up = 2, down = 2), # 2 pu * hr (10 hrs of storage)
inflow = 0.0, # Simple system with no inflow
outflow = 0.0, # Simple system with no outflow
initial_storage = (up = 0.0, down = 0.0), # Device with no charge at the start
storage_target = (up = 0.0, down = 0.0), # Parameter outadated and does not accept nothing.
conversion_factor = 1.0,
pump_efficiency = 1.0,
pump_efficiency = 0.8,
),
];

Expand Down

0 comments on commit 5f5815a

Please sign in to comment.