Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.2 - English

Change language to:
Français - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab Help >> Xcos > palettes > Electrical palette > SineVoltage

SineVoltage

Sine voltage source

Block Screenshot

Description

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

Dialog box

  • 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 palette 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:
Wed Apr 01 10:14:01 CEST 2015