response_surface.py

Surrogate Model based on second order response surface equations.

class openmdao.surrogate_models.response_surface.ResponseSurface[source]

Bases: openmdao.surrogate_models.surrogate_model.SurrogateModel

linearize(x)[source]

Calculates the jacobian of the Kriging surface at the requested point.

Args:

x : array-like

Point at which the surrogate Jacobian is evaluated.

predict(x)[source]

Calculates a predicted value of the response based on the current response surface model for the supplied list of inputs.

Args:

x : array-like

Point at which the surrogate is evaluated.

train(x, y)[source]

Calculate response surface equation coefficients using least squares regression.

Args:

x : array-like

Training input locations

y : array-like

Model responses at given inputs.