hydesign.cst.cst

Classes

cst

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.

_has_compute_partials[source]

If True, the instance overrides compute_partials.

Type:

bool

_vjp_hash[source]

Hash value for the last set of inputs to the compute_primal function.

Type:

int or None

_vjp_fun[source]

The vector-Jacobian product function.

Type:

function or None

N_time[source]
cst_ms_receiver_efficiency_table[source]
wind_speed[source]
Hot_molten_salt_storage_temperature[source]
Cold_molten_salt_storage_temperature[source]
hot_molten_salt_density[source]
Cold_molten_salt_density[source]
Hot_molten_salt_specific_q[source]
Cold_molten_salt_specific_q[source]
heat_exchanger_efficiency[source]
steam_turbine_efficiency[source]
flow_ms_max_cst_receiver_per_m2[source]
setup()[source]

Declare inputs and outputs.

Available attributes:

name pathname comm options

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.