Skip to content

Commit

Permalink
Refactor KBHDP case studies: improve function calls and add degrees o…
Browse files Browse the repository at this point in the history
…f freedom breakdown
  • Loading branch information
zacharybinger committed Dec 14, 2024
1 parent 322fa4f commit ffd0e92
Show file tree
Hide file tree
Showing 3 changed files with 308 additions and 232 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ def init_treatment(m, verbose=True, solver=None):
assert_no_degrees_of_freedom(m)
treatment.feed.initialize(optarg=optarg)
propagate_state(treatment.feed_to_translator)

report_MCAS_stream_conc(m, treatment.feed.properties[0.0])
treatment.MCAS_to_TDS_translator.initialize(optarg=optarg)
propagate_state(treatment.translator_to_EC)

Expand All @@ -513,7 +513,7 @@ def init_treatment(m, verbose=True, solver=None):
# propagate_state(treatment.ro_to_dwi)

treatment.product.initialize(optarg=optarg)
# init_DWI(m, treatment.DWI)
init_DWI(m, treatment.DWI)
display_system_stream_table(m)


Expand Down
Loading

0 comments on commit ffd0e92

Please sign in to comment.