/*---------------------------------*- C++ -*----------------------------------*\
filetype dictionary; coding utf-8; version 0.1; local --; purpose --;
\*----------------------------------------------------------------------------*/
_environment
{
//    libSource                 'C:/Users/CHAVAS/Documents/PYTHON/Ospx_v3/VModel';
    libSource                 ./src;
}
systemStructure
{
    connections
    {
        Vessel_to_LOSGuidance
        {
            source
            {
                component       Vessel;
                connector       Vessel_ASVStatesVSSL;
            }
            target
            {
                component       LOSGuidance;
                connector       LOSGuidance_ASVStatesLOSG;
            }
        }
    }
    components
    {
        Vessel
        {
            connectors
            {
                Vessel_ASVStatesVSSL
                {
                    variableGroup        ASVStatesVSSL;
                    type        output;
                }
                Vessel_UDesiredCAS
                {
                    variable        UDesiredCAS;
                    type        input;
                }
                Vessel_PsiDesiredCAS
                {
                    variable        PsiDesiredCAS;
                    type        input;
                }
            }
            fmu               Vessel.fmu;
            stepSize          1.;
        }
        LOSGuidance
        {
            connectors
            {
                LOSGuidance_ASVStatesLOSG
                {
                    variableGroup        ASVStatesLOSG;
                    type        input;
                }
                LOSGuidance_ULos
                {
                    variable        ULos;
                    type        output;
                }
                LOSGuidance_PsiLos
                {
                    variable        PsiLos;
                    type        output;
                }
                LOSGuidance_CollisionSituation
                {
                    variable        CollisionSituation;
                    type        input;
                }
            }
            fmu               LOSGuidance.fmu;
            initialize
            {
                UDesired
                {
                    causality        parameter;
                    variability        fixed;
                    start        1.;
                }
            }
        }
    }
}
run
{
    simulation
    {
        name                  OspSystemStructure;
        startTime             0.0;
        baseStepSize          0.01;
        algorithm             fixedStep;
    }
}
