thermopt.cycles.cycle_power_simple_offdesign module#
Simple power cycle with partial evaporation, off design on fixed hardware.
States: 1 pump inlet, 2 pump outlet, 3 turbine inlet, 4 turbine outlet.
Variables: p1, p3, h3, T_h,out, plus the controls pump_speed and
heat_sink_mass_flow (optimized if in design_variables, fixed if in
fixed_parameters.controls).
Equalities (set to 0 in the YAML): heater.UA_residual,
cooler.UA_residual, compressor.head_residual,
heater.energy_balance_residual.
- thermopt.cycles.cycle_power_simple_offdesign.evaluate_cycle(variables, parameters, constraints, objective_function)[source]#
- thermopt.cycles.cycle_power_simple_offdesign.evaluate_offdesign(parameters, z, controls, sizing=None)[source]#
Evaluate the cycle at z = [p1, p3, h3, T_h,out] on
parameters["hardware"].With
sizing={"working_fluid_mass_flow": m}(design point), z is [p1, p3, h3], the hardware is sized and returned under"hardware".