contrailcirrus / pycontrails

Python library for modeling contrails and other aviation climate impacts
https://py.contrails.org/
Apache License 2.0
59 stars 18 forks source link

Feature/ps grid mach optimize #256

Closed trdean1 closed 3 weeks ago

trdean1 commented 1 month ago

Changes

Improves computation of mach limits to accept vectorized input/output Creates new method ps_nominal_optimize_mach which computes the optimal mach number given a set of operating conditions

Internals

All functions now use the newton optimization method similar to ps_nominal_grid.

Tests