AnyLogic AnyLogic
Expand
Font size
  • java.lang.Object
    • com.anylogic.engine.SDIntegrationManager
All Implemented Interfaces:
java.io.Serializable

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

Constructor Summary

Constructors 
SDIntegrationManager​(int mathDiffEqCount, int mathAlgEqCount, int mathFormEqCount)
Constructor
Constructor Description

Method Summary

All Methods Instance Methods Concrete Methods 
int doStep​(Agent ao, double currentTime, double TOUT, boolean initialConditionsSolving)
Does integration step for the given agent
int FEX​(double T, double[] D, double[] A, double[] RD, double[] RA)  
int SOLOUT​(double time, double[] y, double[] x)  
Modifier and Type Method Description

Methods inherited from class java.lang.Object

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

Constructor Detail

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 Detail

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)
How can we improve this article?