Write one field per controlled quantity from PSS/E control blocks - #64
Open
annacasavant wants to merge 1 commit into
Open
annacasavant wants to merge 1 commit into
annacasavant wants to merge 1 commit into
Conversation
Follows the SiennaSchemas and PowerSystems change of the same name. The OpenAPI writers stop reusing one field whose unit depends on a mode and write the field the mode selects, leaving the rest absent. - Transformers: the objective picks one actuator band (tap_ratio_limits or phase_angle_limits) and one target band (controlled_voltage_limits, controlled_reactive_power_flow_limits or controlled_active_power_flow_limits) from a pairing table; no COD means all five absent. pti.jl records whether the RMI/RMA and VMI/VMA columns were present before defaults are filled, and psse.jl carries the flags as RM_PRESENT/VM_PRESENT, so the 0.9-1.1 substitute is written only where it is a real tap or voltage default and never as an MVAr or angle band. Phase-angle bands and impedance-correction angle curves convert from degrees to radians. - LCC lines: MDC maps to control_mode BLOCKED/POWER/CURRENT with one of power_transfer_setpoint or current_transfer_setpoint. - VSC lines: dc_power_setpoint or dc_voltage_setpoint and power_factor_setpoint or ac_voltage_setpoint per terminal. - Switched shunts: voltage_limits for the voltage modes, reactive_power_range_limits as a fraction of the regulated device's range for the reactive modes; MODSW 6 maps to DISCRETE_REACTIVE_FACTS. - Impedance correction: tap_ratio_correction_curve or phase_angle_correction_curve by transformer_control_mode. device_base.jl drops the :dynamic classification, since no field's unit depends on a mode any more. A synthetic v35 fixture covers every presence combination.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follows the SiennaSchemas #68 and PowerSystems #1820 change of the same name. The OpenAPI writers stop reusing one field whose unit depends on a mode and write the field the mode selects, leaving the rest absent.
device_base.jl drops the :dynamic classification, since no field's unit depends on a mode any more. A synthetic v35 fixture covers every presence combination.