Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: N3hybrid #21

Merged
merged 25 commits into from
Sep 26, 2020
Merged

WIP: N3hybrid #21

merged 25 commits into from
Sep 26, 2020

Conversation

bbrelje
Copy link
Collaborator

@bbrelje bbrelje commented Sep 25, 2020

Purpose

Odds and ends from NASA single asile hybrid project

Type of change

What types of change is it?

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (non-backwards-compatible fix or feature)

Testing

Explain the steps needed to test the new code to verify that it does indeed address the issue and produce the expected behavior.

Checklist

Put an x in the boxes that apply.

  • I have run unit and regression tests which pass locally with my changes
  • I have added new tests that prove my fix is effective or that my feature works
  • I have added necessary documentation

@bbrelje bbrelje requested a review from a team as a code owner September 25, 2020 17:52
@bbrelje bbrelje requested review from bernardopacini and eytanadler and removed request for bernardopacini September 25, 2020 17:52
@coveralls
Copy link

coveralls commented Sep 25, 2020

Pull Request Test Coverage Report for Build 192

  • 166 of 837 (19.83%) changed or added relevant lines in 16 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-11.4%) to 76.15%

Changes Missing Coverage Covered Lines Changed/Added Lines %
openconcept/analysis/trajectories.py 43 45 95.56%
openconcept/components/cfm56.py 2 4 50.0%
openconcept/analysis/performance/mission_profiles.py 5 9 55.56%
openconcept/components/thermal.py 0 5 0.0%
openconcept/utilities/dict_indepvarcomp.py 3 21 14.29%
openconcept/components/ducts.py 6 73 8.22%
openconcept/components/N3hybrid.py 6 97 6.19%
openconcept/analysis/performance/dymos_phases.py 34 152 22.37%
openconcept/components/heat_sinks.py 19 144 13.19%
openconcept/components/N3opt.py 7 246 2.85%
Totals Coverage Status
Change from base Build 178: -11.4%
Covered Lines: 3774
Relevant Lines: 4956

💛 - Coveralls

@bbrelje bbrelje changed the base branch from master to n3hybrid September 26, 2020 17:41
@bbrelje
Copy link
Collaborator Author

bbrelje commented Sep 26, 2020

The content on this branch is not quite ready for prime time but it's good enough for a feature branch

@bbrelje bbrelje merged commit cbe8b3b into mdolab:n3hybrid Sep 26, 2020
hajdik pushed a commit that referenced this pull request Nov 2, 2021
…O, and more (#31)

* First dymos-based phase

* add hybrid engine surrogate model

* Added splitter, put TMS models in separate file, N+3 TMS in progress

* Initial ParallelTMS completed, untested and unverified

* Updated ParallelTMS, still not converging

* Fixed set temperatures in HeatPumpWithIntegratedCoolantLoop

* Updated FlowSplitter partials

* Updated example aircraft tests for fixed HeatPumpWithIntegratedCoolantLoop

* Fixed docs error in TMS

* Implemented working ParallelTMS

* Add ISA temp offset to standard atmosphere

* Add dymos to requirements

* Install dymos from git

* continued install problems

* remove dymos test scratch folder

* pin openmdao for now

* identify why 737 test is failing

* Fix trajectory test bugs introduced during dymos work

* Add a "BasicMission" with a ground roll phase that's not a real BFL phase

* Minor change to CFM56 surrogate

* Add tags to the mult-div comp

* Convergence improvements for the incompressible duct. Add some analytic derivatives and create a full duct model that can take an external HX model as connections

* Added lower bounds on some components

* various tweaks to duct test group for diagnostics

* Limit throttle to 1.05 rated

* Tweaks and doc updates to N3hybrid model

* remove dymos

* remove dymos import, reduce tol on B737 test due to differences in scipy model training behavior

* Add heat sinks specific to motors and batteries

* Further reduce tol of 738 test

* Fix docstring indentation

* WIP: N3hybrid (#21)

* First dymos-based phase

* add hybrid engine surrogate model

* Add ISA temp offset to standard atmosphere

* Add dymos to requirements

* Install dymos from git

* continued install problems

* remove dymos test scratch folder

* pin openmdao for now

* identify why 737 test is failing

* Fix trajectory test bugs introduced during dymos work

* Add a "BasicMission" with a ground roll phase that's not a real BFL phase

* Minor change to CFM56 surrogate

* Add tags to the mult-div comp

* Convergence improvements for the incompressible duct. Add some analytic derivatives and create a full duct model that can take an external HX model as connections

* Added lower bounds on some components

* various tweaks to duct test group for diagnostics

* Limit throttle to 1.05 rated

* Tweaks and doc updates to N3hybrid model

* remove dymos

* remove dymos import, reduce tol on B737 test due to differences in scipy model training behavior

* Add heat sinks specific to motors and batteries

* Further reduce tol of 738 test

* Fix docstring indentation

* Fix docstring and reference to battery heatsink model from Eytan's PR

* ignore scratch folder

* Battery tests done

* Reg tests for the motor heat sink

* First draft of the hybrid single aisle with some todos

* Resize HX for lower hot side pressure drop

* Thermal optimization is functional

* deprecate a couple of debugging things

* Add pressure losses proportional to dynamic pressure

* Optimization with lossy diffuser

* Add proportional losses to the compressible duct

* Added refrigerator capability for the hybrid single aisle and compressible duct robustness improvements

* Add refrigerator weight to hybrid single aisle and reformulate control parameter

* base case

* Added LiquidCooledMotor to ParallelTMS

* Update hydraulic diameter computation and add regression tests against Kays and London empirical coefficients for the heat exchanger

* Add a comprehensive HX reg test case

* Add compressible duct reg tests vs pycycle

* Add reg tests that don't depend on pycycle

* Add warning when pycycle not installed

* Added heat pipe model and tests

* Removed duplicate vapor temp drop calc and changed defaults from 6061 to 7075 aluminum

* Fix trajectories for OM 3.3+ (works on 3.7 dev)

* Roll openmdao version, fix a couple examples

* Heat pipe docstring fixes

* Tested w/ openmdao 3.5 and still works so relaxing dependency pinning

* Update duct test for latest pycycle

* tweaks to nasa model

* repo maintenance

* Add a warning to cached surrogate

* - Add tests for hose and pump comps
- Add effectiveness/NTU calc for the motor heat sink comp
- Refactor tms and heat sink tests
- Clean up unused code in thermal.py

* remove hybrid single aisle examples until conclusion of trees study

* implements promote_add and promote_mult convenience funcs

* refactor the empirical engine decks and update the n+3 design

* missed a promote in the ducts comp

* add two geom design vars to the hx group

* Change name of top-level integrator comp to allow multimission problems at the top-level

* lower bound on duct mass flow for convergence

* Updated engine maps

* New chiller component

* Make case cooling coefficient a user parameter

* Change bounds on duct comp

* Add a muliple trajectory plot utility

* Remove a print statement

* Added tests for chiller

* Removed eff_factor option from COPExplicit and added docstrings

* Changed iv comp to set_input_defaults for steady flight phase so linear interpolator can be connected for trajectory optimization

* Corrected documentation for I/O of updated HeatPumpWithIntegratedCoolantLoop

* Changed default batteries per bandolier from 21 to 82

* Copied run function to make B738_Dymos example work

* Added docstrings for atmospheric comps

* Updated docs for turbofan engine decks and chiller comps

* Added docs for heat sinks

* Updated docs and added tests for splitter comps

* Added more analytic derivatives to chiller and removed check_partials from components that use complex step

* Removed check_partials from heat pipe tests for components that use complex step derivatives

* Added derivatives to heat sinks and removed check partials from tests of comps with complex step derivs

* Removed some old refrigeration comps, attempt to replace in TwinSeriesHybridElectricPropulsionRefrigerated and HybridTwin_active_thermal (in progress)

* Removed TMS.py and its tests

* Added lower bounds and small changes

* Added tests for thermal components

* Changed 'value' in ExecComps to 'val' to fix deprecation warning

* Removed check partials from comps that use complex step for derivatives

* Fixed problem with check_partials using the same method to check (added back cases where check_partials was removed)

* Changed remaining 'val' to 'value' in ExecComp for OpenMDAO forward compatibility

* Added more temperature lower bounds at 1e-10

* docs update after openmdao removed docutils and embeds

* Added tests for CFM56 and changed R to degR for Rankine

* Added tests for N+3 and N+3 Hybrid

* Initial engine deck file download and identifying test directory structure

* First attempt (including some extra ls for debugging)

* Woah it actually worked and ran the engine deck tests...removing debugging commands

* Not sure how to make it work in the windows VM

* Trying curl.exe for Windows in GHA

* Trying Invoke-WebRequest for GHA instead of curl

* Added if statement for GHA download for Ubuntu vs. Windows

* Trying curl with -L flag

* Fixes for automated testing breaking changes for OpenMDAO 3.11

* Fixing docs build error

* More changes to fix doc build

* More packages for docs tests

* Trying to fix derivative warning in chiller tests

* revert COP computation to fix convergence issue

* Transitioned engine decks to OpenMDAO KrigingSurrogate from OpenConcept one

* Adjusted engine deck reg test values to match trained surrogate

* Initial push for adding N+3 hybrid single aisle example

* Added test for N+3 HSA example

* Bumped OpenMDAO version to 3.10.0

Co-authored-by: Ben Brelje <[email protected]>
Co-authored-by: Ben Brelje <[email protected]>
hajdik pushed a commit that referenced this pull request Jan 21, 2022
* First dymos-based phase

* add hybrid engine surrogate model

* Added splitter, put TMS models in separate file, N+3 TMS in progress

* Initial ParallelTMS completed, untested and unverified

* Updated ParallelTMS, still not converging

* Fixed set temperatures in HeatPumpWithIntegratedCoolantLoop

* Updated FlowSplitter partials

* Updated example aircraft tests for fixed HeatPumpWithIntegratedCoolantLoop

* Fixed docs error in TMS

* Implemented working ParallelTMS

* Add ISA temp offset to standard atmosphere

* Add dymos to requirements

* Install dymos from git

* continued install problems

* remove dymos test scratch folder

* pin openmdao for now

* identify why 737 test is failing

* Fix trajectory test bugs introduced during dymos work

* Add a "BasicMission" with a ground roll phase that's not a real BFL phase

* Minor change to CFM56 surrogate

* Add tags to the mult-div comp

* Convergence improvements for the incompressible duct. Add some analytic derivatives and create a full duct model that can take an external HX model as connections

* Added lower bounds on some components

* various tweaks to duct test group for diagnostics

* Limit throttle to 1.05 rated

* Tweaks and doc updates to N3hybrid model

* remove dymos

* remove dymos import, reduce tol on B737 test due to differences in scipy model training behavior

* Add heat sinks specific to motors and batteries

* Further reduce tol of 738 test

* Fix docstring indentation

* WIP: N3hybrid (#21)

* First dymos-based phase

* add hybrid engine surrogate model

* Add ISA temp offset to standard atmosphere

* Add dymos to requirements

* Install dymos from git

* continued install problems

* remove dymos test scratch folder

* pin openmdao for now

* identify why 737 test is failing

* Fix trajectory test bugs introduced during dymos work

* Add a "BasicMission" with a ground roll phase that's not a real BFL phase

* Minor change to CFM56 surrogate

* Add tags to the mult-div comp

* Convergence improvements for the incompressible duct. Add some analytic derivatives and create a full duct model that can take an external HX model as connections

* Added lower bounds on some components

* various tweaks to duct test group for diagnostics

* Limit throttle to 1.05 rated

* Tweaks and doc updates to N3hybrid model

* remove dymos

* remove dymos import, reduce tol on B737 test due to differences in scipy model training behavior

* Add heat sinks specific to motors and batteries

* Further reduce tol of 738 test

* Fix docstring indentation

* Fix docstring and reference to battery heatsink model from Eytan's PR

* ignore scratch folder

* Battery tests done

* Reg tests for the motor heat sink

* First draft of the hybrid single aisle with some todos

* Resize HX for lower hot side pressure drop

* Thermal optimization is functional

* deprecate a couple of debugging things

* Add pressure losses proportional to dynamic pressure

* Optimization with lossy diffuser

* Add proportional losses to the compressible duct

* Added refrigerator capability for the hybrid single aisle and compressible duct robustness improvements

* Add refrigerator weight to hybrid single aisle and reformulate control parameter

* base case

* Added LiquidCooledMotor to ParallelTMS

* Update hydraulic diameter computation and add regression tests against Kays and London empirical coefficients for the heat exchanger

* Add a comprehensive HX reg test case

* Add compressible duct reg tests vs pycycle

* Add reg tests that don't depend on pycycle

* Add warning when pycycle not installed

* Added heat pipe model and tests

* Removed duplicate vapor temp drop calc and changed defaults from 6061 to 7075 aluminum

* Fix trajectories for OM 3.3+ (works on 3.7 dev)

* Roll openmdao version, fix a couple examples

* Heat pipe docstring fixes

* Tested w/ openmdao 3.5 and still works so relaxing dependency pinning

* Update duct test for latest pycycle

* tweaks to nasa model

* repo maintenance

* Add a warning to cached surrogate

* - Add tests for hose and pump comps
- Add effectiveness/NTU calc for the motor heat sink comp
- Refactor tms and heat sink tests
- Clean up unused code in thermal.py

* remove hybrid single aisle examples until conclusion of trees study

* implements promote_add and promote_mult convenience funcs

* refactor the empirical engine decks and update the n+3 design

* missed a promote in the ducts comp

* add two geom design vars to the hx group

* Change name of top-level integrator comp to allow multimission problems at the top-level

* lower bound on duct mass flow for convergence

* Updated engine maps

* New chiller component

* Make case cooling coefficient a user parameter

* Change bounds on duct comp

* Add a muliple trajectory plot utility

* Remove a print statement

* Added tests for chiller

* Removed eff_factor option from COPExplicit and added docstrings

* Changed iv comp to set_input_defaults for steady flight phase so linear interpolator can be connected for trajectory optimization

* Corrected documentation for I/O of updated HeatPumpWithIntegratedCoolantLoop

* Changed default batteries per bandolier from 21 to 82

* Copied run function to make B738_Dymos example work

* Added docstrings for atmospheric comps

* Updated docs for turbofan engine decks and chiller comps

* Added docs for heat sinks

* Updated docs and added tests for splitter comps

* Added more analytic derivatives to chiller and removed check_partials from components that use complex step

* Removed check_partials from heat pipe tests for components that use complex step derivatives

* Added derivatives to heat sinks and removed check partials from tests of comps with complex step derivs

* Removed some old refrigeration comps, attempt to replace in TwinSeriesHybridElectricPropulsionRefrigerated and HybridTwin_active_thermal (in progress)

* Removed TMS.py and its tests

* Added lower bounds and small changes

* Added tests for thermal components

* Changed 'value' in ExecComps to 'val' to fix deprecation warning

* Removed check partials from comps that use complex step for derivatives

* Drafts of some components for openaerostruct integration

* Getting there on the OpenAeroStruct aerodynamic integration...

* OAS drag polar might work? Haven't tested it

* Much improved, still seeing derivative and surrogate model convergence problems as more points added

* Fixed derivatives problem and more updates

* Almost there, need to add analytic derivatives to mesh component

* In good shape. Needs tests and maybe break into multiple files

* Updates to OAS drag polar and added 737 example with OASDragPolar

* Started tests for OAS drag polar components

* Added lots of tests and made a couple more corrections to OAS drag polar stuff

* Added error catching and tests if surf_options are different within a model

* Parallelized drag polar training data calculation

* Modified B738 VLM examlpe

* Started working on aerostructural stuff

* Added progress bars to training

* A couple more improvements...

* Created aerostructural analysis component for OpenConcept to use in surrogate training

* Removed duplicate PlanformMesh from aerostructural.py

* Started changing interfaces necessary for aerostructural drag polar

* First pass at functional aerostructural surrogate

* Bug fixes to OAS aerostructural

* Useless changes to aerostructural

* First pass at incorporating OAS aerostructural into example

* Updated 737 VLM block fuel values

* Added floating point comparison tolerances to OpenAeroStruct training data components

* Added maneuver structural sizing to B738 aerostructural example

* Added surf_options overwriting

* Small modifications

* Fixed some mistakes in the mission analysis component

* Added options for number of control points

* Added lower bound on maneuver angle of attack

* Changed defaults and fixed linear solver bug

* Changed mission profile to better suit paper's cases

* Rough draft of using OpenAeroStruct directly in OpenConcept for aerostructural

* Switched B738_aerostructural example to BasicMission and added option to use OAS directly

* Added tests and documentation for OpenAeroStruct aerostructural stuff

* Added OpenAeroStruct aerostructural tests

* Removed all the commented out code at the end of aerostructural tests

* Corrected ImportError to ModuleNotFoundError, working on adding OAS to GHA

* Working on downloading OAS to correct location

* Trying to pip install OAS from url

* Added git+ before url for pip

* Check that tests are skipped when OAS not installed

* Skipped OAS example aircraft tests of OAS not installed

* Added tearDown method to tests to properly handle static variables in OASDataGen/VLMDataGen

* Replaced pyOptSparse driver with SciPy

* Removed printing of reserve flight phases from aerostructural B738 example since they don't exist

* Adding macOS to GHA

* Changed || syntax in GHA

* Trying to figure out why Windows stalls in GHA

* Trying the drag polar instead of aerostructural

* Make sure aerostructural is the problem for Windows

* Check if it's the exact drag polar that's problematic

* Wasn't that, try a couple more

* Added the only remaining test on its own

* Hmm I think it only happens when all tests are in file

* Try bumping to python 3.8

* Python 3.8 worked, now run all tests

* Reorganized code so example usage in each file can be tested for codecov

* Changed OAS training data print message

* Ran black formatter

* Removed commented out code from all B738 examples

Co-authored-by: Ben Brelje <[email protected]>
Co-authored-by: Ben Brelje <[email protected]>
eytanadler added a commit that referenced this pull request Mar 25, 2024
* Add tags to the mult-div comp

* Convergence improvements for the incompressible duct. Add some analytic derivatives and create a full duct model that can take an external HX model as connections

* Added lower bounds on some components

* various tweaks to duct test group for diagnostics

* Limit throttle to 1.05 rated

* Tweaks and doc updates to N3hybrid model

* remove dymos

* remove dymos import, reduce tol on B737 test due to differences in scipy model training behavior

* Add heat sinks specific to motors and batteries

* Further reduce tol of 738 test

* Fix docstring indentation

* WIP: N3hybrid (#21)

* First dymos-based phase

* add hybrid engine surrogate model

* Add ISA temp offset to standard atmosphere

* Add dymos to requirements

* Install dymos from git

* continued install problems

* remove dymos test scratch folder

* pin openmdao for now

* identify why 737 test is failing

* Fix trajectory test bugs introduced during dymos work

* Add a "BasicMission" with a ground roll phase that's not a real BFL phase

* Minor change to CFM56 surrogate

* Add tags to the mult-div comp

* Convergence improvements for the incompressible duct. Add some analytic derivatives and create a full duct model that can take an external HX model as connections

* Added lower bounds on some components

* various tweaks to duct test group for diagnostics

* Limit throttle to 1.05 rated

* Tweaks and doc updates to N3hybrid model

* remove dymos

* remove dymos import, reduce tol on B737 test due to differences in scipy model training behavior

* Add heat sinks specific to motors and batteries

* Further reduce tol of 738 test

* Fix docstring indentation

* Fix docstring and reference to battery heatsink model from Eytan's PR

* ignore scratch folder

* Battery tests done

* Reg tests for the motor heat sink

* First draft of the hybrid single aisle with some todos

* Resize HX for lower hot side pressure drop

* Thermal optimization is functional

* deprecate a couple of debugging things

* Add pressure losses proportional to dynamic pressure

* Optimization with lossy diffuser

* Add proportional losses to the compressible duct

* Added refrigerator capability for the hybrid single aisle and compressible duct robustness improvements

* Add refrigerator weight to hybrid single aisle and reformulate control parameter

* base case

* Added LiquidCooledMotor to ParallelTMS

* Update hydraulic diameter computation and add regression tests against Kays and London empirical coefficients for the heat exchanger

* Add a comprehensive HX reg test case

* Add compressible duct reg tests vs pycycle

* Add reg tests that don't depend on pycycle

* Add warning when pycycle not installed

* Added heat pipe model and tests

* Removed duplicate vapor temp drop calc and changed defaults from 6061 to 7075 aluminum

* Fix trajectories for OM 3.3+ (works on 3.7 dev)

* Roll openmdao version, fix a couple examples

* Heat pipe docstring fixes

* Tested w/ openmdao 3.5 and still works so relaxing dependency pinning

* Update duct test for latest pycycle

* tweaks to nasa model

* repo maintenance

* Add a warning to cached surrogate

* - Add tests for hose and pump comps
- Add effectiveness/NTU calc for the motor heat sink comp
- Refactor tms and heat sink tests
- Clean up unused code in thermal.py

* remove hybrid single aisle examples until conclusion of trees study

* implements promote_add and promote_mult convenience funcs

* refactor the empirical engine decks and update the n+3 design

* missed a promote in the ducts comp

* add two geom design vars to the hx group

* Change name of top-level integrator comp to allow multimission problems at the top-level

* lower bound on duct mass flow for convergence

* Updated engine maps

* New chiller component

* Make case cooling coefficient a user parameter

* Change bounds on duct comp

* Add a muliple trajectory plot utility

* Remove a print statement

* Added tests for chiller

* Removed eff_factor option from COPExplicit and added docstrings

* Changed iv comp to set_input_defaults for steady flight phase so linear interpolator can be connected for trajectory optimization

* Corrected documentation for I/O of updated HeatPumpWithIntegratedCoolantLoop

* Changed default batteries per bandolier from 21 to 82

* Added hydrogen tank composite thickness estimate with netting and tests

* Added liner and insulation weight components and simplified composite calc

* Made some fixes and added validation

* Moved hydrogen work to subfolder in components

* Reorganized hydrogen folder

* Prototypes (in progress) of a couple necessary parts for boil-off estimation

* Added fairing to outside of insulation

* Added derivatives to components

* Added tests for hydrogen tank thermals

* Attempt for full tank component, but still in progress

* Added tests for some new components

* Added components and modified to make it solve semi-robustly

* Missed some parentheses, oops

* Added analytic derivatives to COPVHeatFromEnvironmentIntoTankWalls

* Added more tests for hydrogen thermal comps

* Added LH2 tank tests and made a couple more corrections

* Note about LH2 tank initial fill level

* First attempt at good boil-off model (still not functional)

* Failed attempt at better boil off model

* Added GH2 reservoir and test

* New LH2 tank looking decent, need to change a few connections still

* LH2 tank more connections made but still not solving

* Working LH2 tank! Now just need venting...

* Removed arccos from heat into propellant to vastly increase robustness but slightly decrease accuracy

* Added venting and heating features to tank, updated tests

* Fixed deprecation error in ExecComp

* Added validation for LH2 tank

* Added ability to pull LH2 from tank in addition from GH2

* Added lower bound to ullage temperature

* Added lower bound to pressure in ullage ODE

* Added more bounds for physical behavior

* Updated defaults of LH2 tank to better reflect real world

* Updated LH2 tank tests for new default options

* Small change to LH2 tank docs

* Removed TMS to match mdolab/master

* Ran black

* Added proper validation script for MHTB boil-off

* Working on new boil off model

* Boil off model gets reasonable results, needs testing, cleanup, and verification of ODE

* Cleaned up boil off API and improved initial guess for solver

* Added tests and fixed derivatives for fill level calc

* Tested boil off ODE against EBM

* Added derivatives for hydrogen property functions

* Analytic derivatives for half of the boil of ODE outputs

* Analytic derivatives for V_dot_gas in boil off ODE

* Added derivatives for T_dot_liq

* Analytic partials for boil off ODE done

* Fixed incorrect derivative when T_dot_liq is zeroed out

* Boil off with complex step to check works great now

* New structural model for vacuum tank

* Added air thermal conductivity

* Added viscosity

* Ran black

* Added vacuum wall model

* Starting new thermal model

* Getting thermal model together, still need to make it work

* Thermal model is done-ish

* First pass at final tank, needs robustness and some other stuff

* Added MLI weight

* Added tests for LH2 tank

* Trying to improve robustness of the boil-off

* Added integrated test for boil off model

* Removed previous versions of files for LH2 tank

* Added rubberized turbofan that can do hydrogen

* Added options to LH2 tank for more customizability

* Consistent radius default

* Trying to figure out what's going on with the solvers and guess_nonlinear

* Adjusted tolerance on LH2Tank NLBGS solver

* Boil off model should now work with mission integrator linking properly

* LH2 tank test was failing because there was no top level nonlinear solver after NLBGS was removed

* Actually....I added back in the NLBGS solver because the Newton was getting funny results

* Working on improving the tank model robustness

* Added some notes for myself and corrected a docstring

* Added LH2 tank without boil-off model

* Added tests for new LH2 tank comps

* Added LH2 tanks to based energy storage imports

* Removed viscosity and conductivity comps

* New boil off model, still needs robustness improvement and derivatives

* Fixed error in boil off

* adding SOFC fuel cell model

* adding sizing functions, fuel cell PEM, and updating SOFC

* Adding Venkats sizing file, does not run

* Making some fixes in sizing stuff

* Fixed wing weight typo in init

* First pass at fixed jet transport weight model

* Updated docstrings and init file

* Vastly improved jet transport weight estimation

* Fixing up sizing example

* First pass at jet transport drag buildup

* Added tests for new drag buildup

* Tests for geometry comps

* Cylinder wetted area component

* No more approximation of tail lever arm

* Added tests and docstrings for tail volume coefficient sizing

* Added CL max estimation

* Removing old sizing

* Modified RubberizedTurbofan to take in rated thrust instead of number of engines

* Moved CD_nonwing up to the VLMDragPolar and enabled it to be a vector input

* Formatted and modified FullMissionWithReserve

* Extended PolarDrag to accept vectorized CD0

* Changed name of CL max output

* Initial pass at setting up B738 sizing run script

* Done with mission analysis of Boeing 737-800 with empirical weight and drag

* Ran black

* Removed n2 from drag test

* Changed some variables bounds

* Increased upper bounds in basic mission segment durations

* Note on engine model and profile variable bound setting

* Added wing planform geometry utilities

* Corrected docstring

* Added wing weight multiplier

* Modified equipment weight to make pressurized cabin geometry more general

* Removed unused option

* Added BWB weight model

* Added BWB drag estimate that is just nacelles and dirty stuff

* Tools to compute planform area of parts of the wing

* Max lift coefficient estimation via the critical section method

* Added todo

* Ran black

* Removed some unused imports

* Minor changes to critical section method

* Added Schur solver for critical section CL max

* Reduced landing gear CD for BWB

* Added output documentation for BWB weights

* Removed CODEOWNERS to avoid unneccesary PR reviews while developing hyfi, ADD BACK BEFORE PUSH TO MAIN

* Utility to compute mean aerodynamic chord of OpenAeroStruct section-defined wing

* Forgot a summation in MAC calc

* Fixed docstrings

* Added comps to compute wave drag

* Fix a bug in the wave drag calculation

* Fix error in flap CLmax calculation

* Extension to critical section method (#54)

* Restructure

* Extended critical section method to handle varying Clmax across span

* Added thermal tests back

* Corrected heat leak multiplier in thermal calcs

* Removed stale code and other code that is not ready to merge

* Fixed BWB test

* Fixed options in BWB test

* One more bit of code not ready to merge

* Remove other dated code

* Fixed convergence and added test for B738_sizing example

* Add back CODEOWNERS file

* Inconsequential rendition thump

* Removed old B738 sizing data

* Ran black

* Fix most flake8 errors

* Fixed ascii art

* Try to fix remaining flake8

* Indentation fix

* Documentation for new components

* Fixed some errors I noticed in the documentation

* Address most comments

* Upper bound on OpenMDAO version

* Forgot a comma

* Oldest OpenMDAO version was being overridden on OpenConcept install

* Try OM 3.16

* Try OM 3.17

* 3.17 it is

* Bump again to 3.21 to fix spline shape problem

* Add code for checking against OAS and weighted avg of cos(sweep) rather than sweep directly

* Reorganized to remove duplicated code

* Tightened Newton solver tolerance to make testing more consistent

* Fixing black and flake8

* Make up your mind flake8

* Better descriptions of takeoff|h behavior

* Even more descriptive takeoff|h behavior

---------

Co-authored-by: Ben Brelje <[email protected]>
Co-authored-by: Ben Brelje <[email protected]>
Co-authored-by: Cody Karcher <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants