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

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

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

Ajuda do Scilab >> Xcos > palettes > Electrical_pal > SineVoltage

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:
Thu Feb 14 15:00:55 CET 2019