hydesign.cpv.cpv
Classes
Class to inherit from when all output variables are explicit. |
Module Contents
- class hydesign.cpv.cpv.cpv(N_time, cpv_efficiency, p_max_cpv_mw_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.