Changeset 73


Ignore:
Timestamp:
Dec 8, 2006, 4:37:50 PM (15 years ago)
Author:
Paula Bettio Staudt
Message:

Updated electrical file header

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mso/eml/electrical/electrical.mso

    r1 r73  
    1 #*---------------------------------------------------------------------
    2 * This file is property of the author and cannot be used, copyed
    3 * or modified without permission.
     1#*-------------------------------------------------------------------
     2* EMSO Model Library (EML) Copyright (C) 2004 - 2007 ALSOC.
    43*
    5 * Copyright (C) 2004  the author
     4* This LIBRARY is free software; you can distribute it and/or modify
     5* it under the therms of the ALSOC FREE LICENSE as available at
     6* http://www.enq.ufrgs.br/alsoc.
     7*
     8* EMSO Copyright (C) 2004 - 2007 ALSOC, original code
     9* from http://www.rps.eng.br Copyright (C) 2002-2004.
     10* All rights reserved.
     11*
     12* EMSO is distributed under the therms of the ALSOC LICENSE as
     13* available at http://www.enq.ufrgs.br/alsoc.
     14*
     15*---------------------------------------------------------------------
     16*
     17* Model of eletrical devices:
     18*       
     19*       - wire: this model holds a current and voltage.
     20*
     21*       - electrical_basic: basic model for electrical devices with one
     22*                               input and one output wire.
     23*
     24*       - electrical: model for an electrical device in which the
     25*                               inlet current is equal to the outlet one.
     26*
     27*       - Resistor: electrical resistor
     28*
     29*       - Capacitor:electrical capacitor
     30*
     31*       - Indutor: electrical indutor
     32*
     33*       - Supply: electrical supply
     34*
    635*----------------------------------------------------------------------
    736* Author: Rafael de Pelegrini Soares
     
    1241
    1342Model wire
    14         #* Model for a electrical wire.
    15         * This model holds a current and voltage.
    16         *#
    1743        VARIABLES
    1844        i as current(Lower=-100);
     
    2147
    2248Model electrical_basic
    23         #* Basic model for electrical devices with one
    24         * input and one output wire.
    25         *#
    2649        VARIABLES
    2750in      inlet  as wire;
     
    3053
    3154Model electrical as electrical_basic
    32         #* Model for an electrical device in which the
    33         * inlet current is equal to the outlet one.
    34         *#
    3555        EQUATIONS
    3656        outlet.i = inlet.i;
     
    3858
    3959Model Resistor as electrical
    40         #* Electrical resistor *#
    4160        PARAMETERS
    4261        R as resistance;
     
    4665
    4766Model Capacitor as electrical
    48         #* Electrical capacitor *#
    4967        PARAMETERS
    5068        C as capacitance;
     
    5775
    5876Model Indutor as electrical
    59         #* Electrical indutor *#
    6077        PARAMETERS
    6178        L as indutance;
     
    6582
    6683Model Supply as electrical_basic
    67         #* Electrical supply *#
    6884        PARAMETERS
    6985        V  as voltage;
Note: See TracChangeset for help on using the changeset viewer.