STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
feedtwin.solve.report Namespace Reference

Functions

str pressure_ladder (Network network, SteadyResult result)

Variables

float _BAR = 1.0e5

Detailed Description

A solved network, written out so a person can read it.

The pressure ladder is the answer to the question that started this project:
where does the pressure actually go between the tank and the injector. It lists
every component in flow order with what it cost, so the largest loss is
obvious rather than inferred.

Two things are always printed, whether or not anyone asked:

* **Mass conservation.** A converged solve that does not conserve mass has
  found the wrong answer confidently, and that is exactly the failure that
  looks like success.
* **Assumed parameters and violated limits.** A number resting on twelve
  library defaults is a different claim from one resting on twelve
  measurements, and the difference should never be invisible.

Function Documentation

◆ pressure_ladder()

str feedtwin.solve.report.pressure_ladder ( Network network,
SteadyResult result )
A text report of where the pressure went.

Definition at line 26 of file report.py.

Variable Documentation

◆ _BAR

float feedtwin.solve.report._BAR = 1.0e5
protected

Definition at line 23 of file report.py.