Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2024.1.0 - Português


SineVoltage

Sine voltage source

Block Screenshot

Description

This Modelica block a general sine voltage source. The internal ohmic resistance is zero.

Parameters

  • Amplitude (Volt)

    Sine voltage amplitude

    Properties : Type 'vec' of size 1.

  • phase (rad)

    phase shift of the sine voltage

    Properties : Type 'vec' of size 1.

  • Frequency (Hz)

    Sine voltage frequency

    Properties : Type 'vec' of size 1.

  • Voltageoffset (V)

    Offset Voltage of the sine voltage

    Properties : Type 'vec' of size 1.

  • Timeoffset (s)

    Start time. During the start time, the signal value is equal to the voltage offset.

    Properties : Type 'vec' of size 1.

Default properties

  • Inputs :

    • Modelica variable name : 'p'

      Implicit variable.

  • Outputs :

    • Modelica variable name : 'n'

      Implicit variable.

  • Parameters :

    • Modelica parameter name : 'V'

      Default value : 1

      Is a state variable : no.

    • Modelica parameter name : 'phase'

      Default value : 0

      Is a state variable : no.

    • Modelica parameter name : 'freqHz'

      Default value : 1

      Is a state variable : no.

    • Modelica parameter name : 'offset'

      Default value : 0

      Is a state variable : no.

    • Modelica parameter name : 'startTime'

      Default value : 0

      Is a state variable : no.

  • File name of the model : SineVoltage

Interfacing function

  • SCI/modules/scicos_blocks/macros/Electrical/SineVoltage.sci

Modelica model

  • SCI/modules/scicos_blocks/macros/Electrical/SineVoltage.mo

Report an issue
<< Resistor Electrical_pal Switch >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Jun 17 17:53:26 CEST 2024