public void Run() { ContinousFirstOrder model = new ContinousFirstOrder(2d, 3d); ContinousSystem system = new ContinousSystem(model, new SolverRK4(), Vector.Zeros(1), delay); BareSystem loop = new BareSystem(system); Simulate.Signal(loop, 20d, 0.01d, new StepsGenerator(new double[] { 4d, 10d, 15d }, new double[] { 1d, 2d, 4d })); data = loop.Data; }
public override ISystem GetSystem() { ContinousFirstOrder model = new ContinousFirstOrder(2d, 3d); return(new ContinousSystem(model, new SolverRK4(), new Vector(1, -2d))); }