Spaces:
Sleeping

XCos_MCP / data /help /Electrical_pal /Resistor.xml
xcos-bot
Deploy snapshot from 23aafd1a (verified archive)
39e01c4
Raw History Blame Contribute Delete
6.58 kB
<?xml version="1.0" encoding="UTF-8"?>
<!--
* Scicos
*
* Copyright (C) INRIA - METALAU Project <scicos@inria.fr> (HTML version)
* Copyright (C) DIGITEO - Scilab Consortium (XML Docbook version)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* See the file ./license.txt
-->
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML"
xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org"
xml:id="Resistor" xml:lang="en_US">
<refnamediv>
<refname>Resistor</refname>
<refpurpose>Electrical resistor</refpurpose>
</refnamediv>
<refsection>
<title>Block Screenshot</title>
<inlinemediaobject>
<imageobject>
<imagedata fileref="../../../../images/palettes/Resistor.png" align="center"/>
</imageobject>
</inlinemediaobject>
</refsection>
<refsection id="Contents_Resistor">
<title>Contents</title>
<itemizedlist>
<listitem>
<xref linkend="Description_Resistor">Description</xref>
</listitem>
<listitem>
<xref linkend="Dialogbox_Resistor">Parameters</xref>
</listitem>
<listitem>
<xref linkend="Defaultproperties_Resistor">Default properties</xref>
</listitem>
<listitem>
<xref linkend="Interfacingfunction_Resistor">Interfacing function</xref>
</listitem>
<listitem>
<xref linkend="Resistor">Modelica model</xref>
</listitem>
</itemizedlist>
</refsection>
<refsection id="Description_Resistor">
<title>Description</title>
<para>
A resistor is a two-port electrical component that resists an electric
current (<literal>I</literal>) by producing a voltage drop (<literal>V</literal>) between its terminals according to the Ohm's law.
</para>
<para><emphasis>R = I / V</emphasis></para>
<para>
The electrical resistance (<literal>R</literal>) is equal to the voltage drop across (<literal>V</literal>) the resistor divided by the current (<literal>I</literal>) through the resistor.
</para>
</refsection>
<refsection id="Dialogbox_Resistor">
<title>Parameters</title>
<inlinemediaobject>
<imageobject>
<imagedata fileref="../../../../images/gui/Resistor_gui.gif" align="center" style="float:right"/>
<!-- align => Javahelp, style => Online -->
</imageobject>
</inlinemediaobject>
<itemizedlist>
<listitem>
<para>
<emphasis role="bold">R (ohm)</emphasis>
</para>
<para> Resistance</para>
<para> Properties : Type 'vec' of size 1.</para>
</listitem>
</itemizedlist>
</refsection>
<refsection id="Defaultproperties_Resistor">
<title>Default properties</title>
<itemizedlist>
<listitem>
<para>
<emphasis role="bold">Inputs :</emphasis>
</para>
<itemizedlist>
<listitem>
<para>
<emphasis role="bold">Modelica variable name :</emphasis> 'p'
</para>
<para>
Implicit <emphasis role="bold">variable.</emphasis>
</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>
<emphasis role="bold">Outputs :</emphasis>
</para>
<itemizedlist>
<listitem>
<para>
<emphasis role="bold">Modelica variable name :</emphasis> 'n'
</para>
<para>
Implicit <emphasis role="bold">variable.</emphasis>
</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>
<emphasis role="bold">Parameters :</emphasis>
</para>
<itemizedlist>
<listitem>
<para>
<emphasis role="bold">Modelica parameter name :</emphasis> 'R'
</para>
<para>
<emphasis role="bold">Default value :</emphasis> 0.01
</para>
<para>
<emphasis role="bold">Is a state variable :</emphasis> no.
</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>
<emphasis role="bold">File name of the model :</emphasis> Resistor
</para>
</listitem>
</itemizedlist>
<para/>
</refsection>
<refsection id="Interfacingfunction_Resistor">
<title>Interfacing function</title>
<itemizedlist>
<listitem>
<para> SCI/modules/scicos_blocks/macros/Electrical/Resistor.sci</para>
</listitem>
</itemizedlist>
</refsection>
<refsection id="Modelicamodel_Resistor">
<title>Modelica model</title>
<itemizedlist>
<listitem>
<para> SCI/modules/scicos_blocks/macros/Electrical/Resistor.mo</para>
</listitem>
</itemizedlist>
</refsection>
</refentry>