temo.output package

Submodules

temo.output.writers module

temo.output.writers.HMX_from_teqp(jbin: list, jdep: list, hashprovider: Callable)[source]

Read in CoolProp-format departure term JSON structure and build a REFPROP-format HMX.BNC

Parameters:
  • jbin (list[dict]) – The binary interaction parameters

  • jdep (list[dict]) – The departure functions

temo.output.writers.teqp_info_from_summary(summary_file: Path, CASprovider: Callable, round_digits=None)[source]

Take summary file and generate files in teqp/CoolProp format. The summary file should have a column called “selected” and for each binary pair, one and only one row should be non-empty, indicating which model is selected for that binary pair

Parameters:
  • summary_file (Path) – The file to be processed to write models

  • CASprovider (Calllable) – A callable that takes a fluid identifier and returns the CAS# as a string

Module contents