simulate

simulate a trajectory of a nonlinear system controlled with the controller based on combined control

Contents

Syntax

[res,t,x,u] = simulate(obj,x0,w)
[res,t,x,u] = simulate(obj,x0,w,v)

Description

Simulate a trajectory of a nonlinear closed-loop system controlled with the controller based on combined control for a given initial point and given specific disturbance values over time.

Input Arguments

obj

object of class objCombinedContr storing the control law computed in the offline-phase

x0

initial point for the simulation

w

matrix storing the values for the disturbances over time (dimension: [nw,multiple of N])

v

matrix storing the values for the measurement errors over time (dimension: [nx,multiple of N])

Output Arguments

res

results object storing the simulation data

t

vector storing the time points for the simulated states

x

matrix storing the simulated trajectory (dimension: [t,nx])

u

matrix storing the control inputs for the simulated trajectory (dimension: [t,nu])

See Also

combinedControl, simulateRandom


© 2018-2023 I6 Technische Universität München Website License

logoAroc logoCora logoChair logoTum