STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
feedtwin.comps.correlations.FittingContext Class Reference

Public Member Functions

float get (self, str name, float default)

Static Public Attributes

Mapping params = field(default_factory=dict)

Detailed Description

What every fitting correlation is given.

A uniform shape, so the registry can hold functions whose underlying
``fluids`` signatures differ wildly -- a rounded bend wants an angle and a
bend radius, a contraction wants two diameters, an exit wants nothing.

Definition at line 102 of file correlations.py.

Member Function Documentation

◆ get()

float feedtwin.comps.correlations.FittingContext.get ( self,
str name,
float default )

Definition at line 123 of file correlations.py.

References get(), and params.

Referenced by get(), and feedtwin.model.catalog.Catalog.instantiate().

Member Data Documentation

◆ params

Mapping feedtwin.comps.correlations.FittingContext.params = field(default_factory=dict)
static

Definition at line 119 of file correlations.py.

Referenced by feedtwin.model.spec.ComponentSpec.__post_init__(), feedtwin.model.component.ComponentInstance.assumptions(), feedtwin.model.catalog.Part.disagreements(), get(), feedtwin.model.spec.ComponentSpec.params_for(), feedtwin.model.component.ComponentInstance.provenance(), feedtwin.model.catalog.Part.resolve(), feedtwin.model.component.ComponentInstance.si(), feedtwin.model.component.ComponentInstance.si_params(), test_robust_ddp_dynamics.TestDynamics.test_blowdown_decreases_pressure(), test_robust_ddp_dynamics.TestDynamics.test_control_clamping(), test_robust_ddp_dynamics.TestDynamics.test_copv_blowdown(), test_robust_ddp_dynamics.TestDynamics.test_feed_pressure_lag(), test_robust_ddp_ddp_solver.TestDDPSolver.test_forward_rollout(), test_robust_ddp_dynamics.TestDynamics.test_linearize_accuracy(), test_robust_ddp_dynamics.TestDynamics.test_linearize_shape(), test_robust_ddp_dynamics.TestDynamics.test_pressurization_increases_pressure(), test_robust_ddp_dynamics.TestDynamics.test_state_non_negative(), test_robust_ddp_dynamics.TestDynamics.test_step_basic(), test_robust_ddp_robustness.TestRobustness.test_tube_propagate_basic(), test_robust_ddp_robustness.TestRobustness.test_tube_propagate_validation(), test_robust_ddp_robustness.TestRobustness.test_tube_propagate_widens(), test_robust_ddp_robustness.TestRobustness.test_tube_propagate_with_large_w_bar(), test_robust_ddp_dynamics.TestDynamics.test_ullage_volume_increases(), test_robust_ddp_dynamics.TestDynamics.test_zero_mass_flow(), feedtwin.model.catalog.Part.to_dict(), feedtwin.model.component.ComponentInstance.to_dict(), and feedtwin.model.spec.ComponentSpec.validate().


The documentation for this class was generated from the following file: