hydesign.cst.cst
Classes
Class to inherit from when all output variables are explicit. |
Module Contents
- class hydesign.cst.cst.cst(N_time, cst_ms_receiver_efficiency_table, wind_speed, Hot_molten_salt_storage_temperature, Cold_molten_salt_storage_temperature, hot_molten_salt_density, Cold_molten_salt_density, Hot_molten_salt_specific_q, Cold_molten_salt_specific_q, heat_exchanger_efficiency, steam_turbine_efficiency, flow_ms_max_cst_receiver_per_m2)[source]
Bases:
openmdao.api.ExplicitComponent
Class to inherit from when all output variables are explicit.
- Parameters:
**kwargs (dict of keyword arguments) – Keyword arguments that will be mapped into the Component options.
- _vjp_hash[source]
Hash value for the last set of inputs to the compute_primal function.
- Type:
int or None
- compute(inputs, outputs)[source]
Compute outputs given inputs. The model is assumed to be in an unscaled state.
An inherited component may choose to either override this function or to define a compute_primal function.
- Parameters:
inputs (Vector) – Unscaled, dimensional input variables read via inputs[key].
outputs (Vector) – Unscaled, dimensional output variables read via outputs[key].
discrete_inputs (dict-like or None) – If not None, dict-like object containing discrete input values.
discrete_outputs (dict-like or None) – If not None, dict-like object containing discrete output values.