Plecs { Name "AlgebraicConstraint" Version "4.1" CircuitModel "ContStateSpace" StartTime "0.0" StopTime "1.0" Timeout "" Solver "dopri" MaxStep "1e-3" InitStep "-1" FixedStep "1e-3" Refine "1" ZCStepSize "1e-9" RelTol "1e-3" AbsTol "-1" TurnOnThreshold "0" SyncFixedStepTasks "2" UseSingleCommonBaseRate "2" LossVariableLimitExceededMsg "3" NegativeSwitchLossMsg "3" DivisionByZeroMsg "3" StiffnessDetectionMsg "2" MaxConsecutiveZCs "1000" AssertionAction "1" InitializationCommands "input=1000;" InitialState "1" SystemState "" CodeGenParameterInlining "2" CodeGenInliningExceptions "AAAACwAAAAAA" CodeGenFloatingPointFormat "2" CodeGenIntegerWordSize "32" CodeGenAbsTimeUsageMsg "3" CodeGenBaseName "" CodeGenOutputDir "" CodeGenExtraOpts "" CodeGenTarget "Generic" CodeGenTargetSettings "" ExtendedMatrixPrecision "1" MatrixSignificanceCheck "2" EnableStateSpaceSplitting "2" DisplayStateSpaceSplitting "1" DiscretizationMethod "2" ExternalModeSettings "" AlgebraicLoopMethod "1" AlgebraicLoopTolerance "1e-6" Schematic { Location [369, 164; 1011, 366] ZoomFactor 1 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type Function Name "Equation 1" Show on Position [260, 100] Direction right Flipped off Frame [-85, -10; 85, 10] LabelPosition [0, 13] LabelAlign up Parameter { Variable "f(u)" Value "u(3)*u(1)-u(2)-exp(-u(1))" Show off } } Component { Type Function Name "Equation 2" Show on Position [260, 140] Direction right Flipped off Frame [-85, -10; 85, 10] LabelPosition [0, 13] LabelAlign up Parameter { Variable "f(u)" Value "-u(1)+u(3)*u(2)-exp(-u(2))" Show off } } Component { Type SignalMux Name "Mux1" Show off Position [365, 120] Direction right Flipped off Parameter { Variable "Width" Value "2" Show off } } Component { Type AlgebraicConstraint Name "Algebraic\nConstraint" Show on Position [420, 120] Direction right Flipped off Parameter { Variable "InitialGuess" Value "0" Show off } } Component { Type Display Name "Display" Show on Position [535, 120] Direction up Flipped off Frame [-36, -21; 36, 21] LabelPosition [0, 24] LabelAlign up Parameter { Variable "Notation" Value "1" Show off } Parameter { Variable "Precision" Value "4" Show off } } Component { Type SignalMux Name "Mux2" Show off Position [145, 120] Direction right Flipped off Parameter { Variable "Width" Value "[2, 1]" Show off } } Component { Type Constant Name "Constant" Show on Position [90, 125] Direction right Flipped off Frame [-20, -10; 20, 10] LabelPosition [0, 13] LabelAlign up Parameter { Variable "Value" Value "2" Show off } } Connection { Type Signal SrcComponent "Equation 1" SrcTerminal 2 DstComponent "Mux1" DstTerminal 2 } Connection { Type Signal SrcComponent "Equation 2" SrcTerminal 2 DstComponent "Mux1" DstTerminal 3 } Connection { Type Signal SrcComponent "Mux1" SrcTerminal 1 DstComponent "Algebraic\nConstraint" DstTerminal 1 } Connection { Type Signal SrcComponent "Algebraic\nConstraint" SrcTerminal 2 Points [470, 120] Branch { DstComponent "Display" DstTerminal 1 } Branch { Points [470, 70; 130, 70] DstComponent "Mux2" DstTerminal 2 } } Connection { Type Signal SrcComponent "Constant" SrcTerminal 1 DstComponent "Mux2" DstTerminal 3 } Connection { Type Signal SrcComponent "Mux2" SrcTerminal 1 Points [160, 120] Branch { DstComponent "Equation 1" DstTerminal 1 } Branch { DstComponent "Equation 2" DstTerminal 1 } } } } DemoSignature "EpZu9XdCiNyQFpfjTp+S3paZmnCUVusyCFMNqlRhazw="