Bug Description
OperatingPoint currently restricts alpha and beta to the range (-180.0, 180.0], but this may still be too permissive. Large absolute values within this range may cause silent numerical failures in the solvers.
Location(s): pterasoftware/operating_point.py
Expected Behavior
If testing reveals that extreme alpha or beta values (within the current (-180.0, 180.0] range) break the solvers, the ranges should be tightened with a clear error or warning.
Steps to Reproduce
- Create an
OperatingPoint with alpha or beta set to extreme values within the current allowed range (e.g., 90, 179).
- Run a steady solver and inspect the results for numerical issues.
Additional Context
This issue is referenced by a TODO comment in OperatingPoint.
Bug Description
OperatingPointcurrently restrictsalphaandbetato the range (-180.0, 180.0], but this may still be too permissive. Large absolute values within this range may cause silent numerical failures in the solvers.Location(s):
pterasoftware/operating_point.pyExpected Behavior
If testing reveals that extreme
alphaorbetavalues (within the current (-180.0, 180.0] range) break the solvers, the ranges should be tightened with a clear error or warning.Steps to Reproduce
OperatingPointwithalphaorbetaset to extreme values within the current allowed range (e.g., 90, 179).Additional Context
This issue is referenced by a
TODOcomment inOperatingPoint.