AnyLogic
Expand
Font size
All Implemented Interfaces:
Serializable

@AnyLogicInternalCodegenAPI
public class SDIntegrationManager
extends Object
implements Serializable
This class solves a system of algebraic differential equations.
Author:
AnyLogic North America, LLC https://anylogic.com
See Also:
Serialized Form

Constructor Summary

ConstructorDescription
SDIntegrationManager(int mathDiffEqCount, int mathAlgEqCount, int mathFormEqCount)
Constructor

Method Summary

Modifier and TypeMethodDescription
intdoStep(Agent ao, double currentTime, double TOUT, boolean initialConditionsSolving)
Does integration step for the given agent
intFEX(double T, double[] D, double[] A, double[] RD, double[] RA) 
intSOLOUT(double time, double[] y, double[] x) 

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

SDIntegrationManager

@AnyLogicInternalCodegenAPI
public SDIntegrationManager(int mathDiffEqCount,
 int mathAlgEqCount,
 int mathFormEqCount)
Constructor
Parameters:
mathDiffEqCount - number of differential equations
mathAlgEqCount - number of algebraic equations
mathFormEqCount - number of formulas

Method Details

FEX

@AnyLogicInternalAPI
public int FEX(double T,
 double[] D,
 double[] A,
 double[] RD,
 double[] RA)

SOLOUT

@AnyLogicInternalAPI
public int SOLOUT(double time,
 double[] y,
 double[] x)

doStep

@AnyLogicInternalCodegenAPI
public int doStep(Agent ao,
 double currentTime,
 double TOUT,
 boolean initialConditionsSolving)
Does integration step for the given agent
Parameters:
ao - reference to agent
currentTime - initial time
TOUT - final time
initialConditionsSolving - true if functions for initial conditions should be used
Returns:
state of operation (e.g. NumMethod.nmSuccess)