Skip to content

Added script interface to srlife#4

Open
brycepm2 wants to merge 7 commits intomainfrom
srlife_manager
Open

Added script interface to srlife#4
brycepm2 wants to merge 7 commits intomainfrom
srlife_manager

Conversation

@brycepm2
Copy link
Collaborator

interface.py provides a set of functions to run through srlife analysis workflow
0) define inputs

  1. create receiver model
  2. read an apply flux bus
  3. setup receiver flow paths
  4. optimize mass flow rate based on target output temp
  5. calc pressure loss from flow
  6. solve structure problem across cycles

Several unit tests and a regression test were added via ./tests/test_interface.py

Save as member of ThermohydraulicsThermalSolver after successful solve
Then pass as arg to flowpath.solve()
srlife/interface.py has funcitons to facilitate interacting with
library
Added suite of tests to check funcitonality

Added manual workflows to test

Updated test to work on any machine

More ssmall fixes

LastFix
@brycepm2 brycepm2 self-assigned this Apr 16, 2025
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.

1 participant