|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Go to the source code of this file.
Namespaces | |
| namespace | simple_example |
Variables | |
| simple_example.config = load_config(str(Path(__file__).parent.parent / "configs" / "default.yaml")) | |
| simple_example.runner = PintleEngineRunner(config) | |
| float | simple_example.P_tank_O = 5.0e6 |
| float | simple_example.P_tank_F = 4.5e6 |
| simple_example.results = runner.evaluate(P_tank_O, P_tank_F) | |
| simple_example.P_tank_O_sweep = np.array([4.0e6, 5.0e6, 6.0e6, 7.0e6]) | |
| simple_example.P_tank_F_sweep = np.array([3.6e6, 4.5e6, 5.4e6, 6.3e6]) | |
| simple_example.results_sweep = runner.evaluate(P_tank_O_sweep, P_tank_F_sweep) | |
| simple_example.t = np.linspace(0, 10, 100) | |
| float | simple_example.P_tank_O_ts = 6.0e6 * np.exp(-t / 5.0) + 1.0e6 |
| float | simple_example.P_tank_F_ts = 5.5e6 * np.exp(-t / 5.0) + 1.0e6 |
| simple_example.results_ts = runner.evaluate_time_series(t, P_tank_O_ts, P_tank_F_ts) | |