Skip to content

Commit

Permalink
update pmax pwl
Browse files Browse the repository at this point in the history
  • Loading branch information
ktehranchi committed Sep 27, 2024
1 parent 56b2121 commit 6ad57be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/r2x/parser/parser_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def construct_pwl_from_quadtratic(fn, mapped_records, num_tranches=6):
b = fn.proportional_term
c = fn.constant_term
x_min = mapped_records["min_rated_capacity"].magnitude
x_max = mapped_records["rating"].magnitude
x_max = mapped_records["active_power_limits_max"].magnitude

# Use evenly spaced X values for the tranches
# Future iteration should accept custom X values for Bid Cost Markup
Expand Down

0 comments on commit 6ad57be

Please sign in to comment.