Changeset 550

Show
Ignore:
Timestamp:
08/17/2007 10:24:46 AM (17 months ago)
Author:
otter
Message:

Library description string made in a standardized fashion for the top-level libraries
(Library of xxx)

Location:
Modelica/trunk/Modelica
Files:
103 modified

Legend:

Unmodified
Added
Removed
  • Modelica/trunk/Modelica/Blocks/Continuous.mo

    r542 r550  
    11within Modelica.Blocks; 
    2 package Continuous "Continuous control blocks with internal states"  
     2package Continuous "Library of continuous control blocks with internal states"  
    33   
    44  import Modelica.Blocks.Interfaces; 
  • Modelica/trunk/Modelica/Blocks/Discrete.mo

    r535 r550  
    1 package Discrete "Discrete input/output blocks with fixed sample period"  
     1within Modelica.Blocks; 
     2package Discrete  
     3  "Library of discrete input/output blocks with fixed sample period"  
    24   
    35  extends Modelica.Icons.Library; 
  • Modelica/trunk/Modelica/Blocks/Interfaces.mo

    r535 r550  
    1 package Interfaces "Connectors and partial models for input/output blocks"  
     1within Modelica.Blocks; 
     2package Interfaces  
     3  "Library of connectors and partial models for input/output blocks"  
    24  import Modelica.SIunits; 
    35    extends Modelica.Icons.Library; 
     
    201203   
    202204    partial block BlockIcon "Basic graphical layout of input/output block"  
     205     
    203206      annotation ( 
    204207        Coordsys(extent=[-100, -100; 100, 100]), 
     
    520523    partial block DiscreteBlockIcon  
    521524    "Graphical layout of discrete block component icon"  
     525     
    522526      annotation (Icon(Rectangle(extent=[-100, -100; 100, 100], style(color=3, 
    523527                fillColor=52)), Text(extent=[-150, 150; 150, 110], string= 
     
    718722   
    719723    partial block BooleanBlockIcon "Basic graphical layout of Boolean block"  
     724     
    720725      annotation ( 
    721726        Coordsys(extent=[-100, -100; 100, 100]), 
     
    856861   
    857862partial block IntegerBlockIcon "Basic graphical layout of Integer block"  
     863     
    858864  annotation (Icon(Rectangle(extent=[-100, -100; 100, 100], style(color=45, 
    859865            fillColor=7)), Text(extent=[-150, 150; 150, 110], string="%name")), 
     
    944950  partial block partialBooleanBlockIcon  
    945951    "Basic graphical layout of logical block"  
     952     
    946953    annotation (Icon( 
    947954  Rectangle(extent=[-100,100; 100,-100],   style( 
     
    10811088   
    10821089  partial block partialBooleanSO "Partial block with 1 output Boolean signal"  
     1090     
    10831091           Blocks.Interfaces.BooleanOutput y  
    10841092      "Connector of Boolean output signal"   annotation(extent=[100,-10; 120,10]); 
     
    11251133        Diagram( 
    11261134        Polygon(points=[-70,92; -76,70; -64,70; -70,92], style( 
    1127             color=10,  
    1128             rgbcolor={95,95,95},  
    1129             fillColor=10,  
     1135            color=10, 
     1136            rgbcolor={95,95,95}, 
     1137            fillColor=10, 
    11301138            rgbfillColor={95,95,95})), 
    11311139        Line(points=[-70,70; -70,-88], style( 
    1132             color=10,  
    1133             rgbcolor={95,95,95},  
    1134             fillColor=10,  
     1140            color=10, 
     1141            rgbcolor={95,95,95}, 
     1142            fillColor=10, 
    11351143            rgbfillColor={95,95,95})), 
    11361144        Line(points=[-90,-70; 68,-70], style( 
    1137             color=10,  
    1138             rgbcolor={95,95,95},  
    1139             fillColor=10,  
     1145            color=10, 
     1146            rgbcolor={95,95,95}, 
     1147            fillColor=10, 
    11401148            rgbfillColor={95,95,95})), 
    11411149        Polygon(points=[90,-70; 68,-64; 68,-76; 90,-70], style( 
    1142             color=10,  
    1143             rgbcolor={95,95,95},  
    1144             fillColor=10,  
     1150            color=10, 
     1151            rgbcolor={95,95,95}, 
     1152            fillColor=10, 
    11451153            rgbfillColor={95,95,95})), 
    11461154        Text( 
    11471155          extent=[54,-80; 106,-92], 
    1148           string="time",  
     1156          string="time", 
    11491157          style( 
    1150             color=0,  
    1151             rgbcolor={0,0,0},  
    1152             fillColor=10,  
     1158            color=0, 
     1159            rgbcolor={0,0,0}, 
     1160            fillColor=10, 
    11531161            rgbfillColor={95,95,95})), 
    11541162        Text( 
    11551163          extent=[-64,92; -46,74], 
    1156           string="y",  
     1164          string="y", 
    11571165          style( 
    1158             color=0,  
    1159             rgbcolor={0,0,0},  
    1160             fillColor=10,  
     1166            color=0, 
     1167            rgbcolor={0,0,0}, 
     1168            fillColor=10, 
    11611169            rgbfillColor={95,95,95}))), 
    11621170      Documentation(info="<html> 
     
    12061214  partial block partialBooleanComparison  
    12071215    "Partial block with 2 Real input and 1 Boolean output signal (the result of a comparison of the two Real inputs"  
     1216     
    12081217    Blocks.Interfaces.RealInput u1 "Connector of first Boolean input signal"  
    12091218                                   annotation(extent=[-140,-20; -100,20]); 
     
    15691578  partial block PartialConversionBlock  
    15701579    "Partial block defining the interface for conversion blocks"  
     1580     
    15711581    RealInput u "Connector of Real input signal to be converted"  
    15721582      annotation (extent=[-140, -20; -100, 20]); 
  • Modelica/trunk/Modelica/Blocks/Logical.mo

    r535 r550  
    1 package Logical "Components with Boolean input and output signals"  
     1within Modelica.Blocks; 
     2package Logical "Library of components with Boolean input and output signals"  
    23    extends Modelica.Icons.Library; 
    34   
  • Modelica/trunk/Modelica/Blocks/Math.mo

    r542 r550  
    11within Modelica.Blocks; 
    2 package Math "Mathematical functions as input/output blocks"  
     2package Math "Library of mathematical functions as input/output blocks"  
    33  import Modelica.SIunits; 
    44  import Modelica.Blocks.Interfaces; 
     
    807807   
    808808      block Feedback "Output difference between commanded and feedback input"  
     809     
    809810        input Interfaces.RealInput u1 annotation (extent=[-100, -20; -60, 20]); 
    810811        input Interfaces.RealInput u2  
     
    24512452   
    24522453  block RealToBoolean "Convert Real to Boolean signal"  
     2454     
    24532455    Blocks.Interfaces.RealInput u "Connector of Real input signal"  annotation(extent=[-140,-20; -100,20]); 
    24542456    extends Interfaces.partialBooleanSO; 
     
    24982500   
    24992501  block IntegerToBoolean "Convert Integer to Boolean signal"  
     2502     
    25002503    Blocks.Interfaces.IntegerInput u "Connector of Integer input signal" annotation(extent=[-140,-20; -100,20]); 
    25012504    extends Interfaces.partialBooleanSO; 
  • Modelica/trunk/Modelica/Blocks/Nonlinear.mo

    r535 r550  
     1within Modelica.Blocks; 
    12package Nonlinear  
    2   "Discontinuous or non-differentiable algebraic control blocks"  
     3  "Library of discontinuous or non-differentiable algebraic control blocks"  
    34  import Modelica.Blocks.Interfaces; 
    45      extends Modelica.Icons.Library; 
  • Modelica/trunk/Modelica/Blocks/Routing.mo

    r489 r550  
    1 package Routing "Blocks to combine and extract signals"  
     1within Modelica.Blocks; 
     2package Routing "Library of blocks to combine and extract signals"  
    23  extends Icons.Library; 
    34   
  • Modelica/trunk/Modelica/Blocks/Sources.mo

    r535 r550  
    1 package Sources "Signal source blocks generating Real and Boolean signals"  
     1within Modelica.Blocks; 
     2package Sources  
     3  "Library of signal source blocks generating Real and Boolean signals"  
    24  block RealExpression "Set output signal to a time varying Real expression"  
     5     
    36    Blocks.Interfaces.RealOutput y=0.0 "Value of Real output"  
    47      annotation (extent=[100, -10; 120, 10], Dialog(group= 
     
    4548  block IntegerExpression  
    4649    "Set output signal to a time varying Integer expression"  
     50     
    4751    Blocks.Interfaces.IntegerOutput y=0 "Value of Integer output"  
    4852      annotation (extent=[100, -10; 120, 10], Dialog(group= 
     
    8993  block BooleanExpression  
    9094    "Set output signal to a time varying Boolean expression"  
     95     
    9196    Blocks.Interfaces.BooleanOutput y=false "Value of Boolean output"  
    9297      annotation (extent=[100, -10; 120, 10], Dialog(group= 
     
    243248          Diagram( 
    244249            Polygon(points=[-80,90; -85,68; -75,68; -80,90], style( 
    245             color=10,  
    246             rgbcolor={95,95,95},  
    247             fillColor=10,  
     250            color=10, 
     251            rgbcolor={95,95,95}, 
     252            fillColor=10, 
    248253            rgbfillColor={95,95,95})), 
    249254            Line(points=[-80, 68; -80, -80], style( 
    250             color=10,  
    251             rgbcolor={95,95,95},  
    252             fillColor=10,  
     255            color=10, 
     256            rgbcolor={95,95,95}, 
     257            fillColor=10, 
    253258            rgbfillColor={95,95,95})), 
    254259            Line(points=[-80, 0; -10, 0; 60, 70], style( 
    255             color=3,  
    256             rgbcolor={0,0,255},  
     260            color=3, 
     261            rgbcolor={0,0,255}, 
    257262            thickness=2)), 
    258263            Line(points=[-90, -70; 82, -70], style( 
    259             color=10,  
    260             rgbcolor={95,95,95},  
    261             fillColor=10,  
     264            color=10, 
     265            rgbcolor={95,95,95}, 
     266            fillColor=10, 
    262267            rgbfillColor={95,95,95})), 
    263268            Polygon(points=[90,-70; 68,-64; 68,-76; 90,-70], style( 
    264             color=10,  
    265             rgbcolor={95,95,95},  
    266             fillColor=10,  
     269            color=10, 
     270            rgbcolor={95,95,95}, 
     271            fillColor=10, 
    267272            rgbfillColor={95,95,95})), 
    268273            Polygon(points=[-34, 0; -37, -13; -30, -13; -34, 0], style( 
    269             color=10,  
    270             rgbcolor={95,95,95},  
    271             fillColor=10,  
     274            color=10, 
     275            rgbcolor={95,95,95}, 
     276            fillColor=10, 
    272277            rgbfillColor={95,95,95})), 
    273278            Line(points=[-34, -13; -34, -70], style( 
    274             color=10,  
    275             rgbcolor={95,95,95},  
    276             fillColor=10,  
     279            color=10, 
     280            rgbcolor={95,95,95}, 
     281            fillColor=10, 
    277282            rgbfillColor={95,95,95})), 
    278283            Polygon(points=[-34, -69; -37, -56; -31, -56; -34, -69; -34, -69], style( 
    279             color=10,  
    280             rgbcolor={95,95,95},  
    281             fillColor=10,  
     284            color=10, 
     285            rgbcolor={95,95,95}, 
     286            fillColor=10, 
    282287            rgbfillColor={95,95,95})), 
    283288            Text( 
    284289              extent=[-77,-28; -35,-40], 
    285               string="offset",  
    286           style( 
    287             color=0,  
    288             rgbcolor={0,0,0},  
    289             fillColor=10,  
     290              string="offset", 
     291          style( 
     292            color=0, 
     293            rgbcolor={0,0,0}, 
     294            fillColor=10, 
    290295            rgbfillColor={95,95,95})), 
    291296            Text( 
    292297              extent=[-30,-73; 18,-86], 
    293               string="startTime",  
    294           style( 
    295             color=0,  
    296             rgbcolor={0,0,0},  
    297             fillColor=10,  
     298              string="startTime", 
     299          style( 
     300            color=0, 
     301            rgbcolor={0,0,0}, 
     302            fillColor=10, 
    298303            rgbfillColor={95,95,95})), 
    299304            Text( 
    300305              extent=[-81,91; -40,71], 
    301               string="y",  
    302           style( 
    303             color=0,  
    304             rgbcolor={0,0,0},  
    305             fillColor=10,  
     306              string="y", 
     307          style( 
     308            color=0, 
     309            rgbcolor={0,0,0}, 
     310            fillColor=10, 
    306311            rgbfillColor={95,95,95})), 
    307312            Text( 
    308313              extent=[63,-79; 94,-89], 
    309               string="time",  
    310           style( 
    311             color=0,  
    312             rgbcolor={0,0,0},  
    313             fillColor=10,  
     314              string="time", 
     315          style( 
     316            color=0, 
     317            rgbcolor={0,0,0}, 
     318            fillColor=10, 
    314319            rgbfillColor={95,95,95})), 
    315320            Line(points=[-10, 0; -10, -70], style( 
    316             color=10,  
    317             rgbcolor={95,95,95},  
    318             fillColor=10,  
     321            color=10, 
     322            rgbcolor={95,95,95}, 
     323            fillColor=10, 
    319324            rgbfillColor={95,95,95})), 
    320325            Line(points=[-10, 0; 50, 0], style( 
    321             color=10,  
    322             rgbcolor={95,95,95},  
    323             fillColor=10,  
     326            color=10, 
     327            rgbcolor={95,95,95}, 
     328            fillColor=10, 
    324329            rgbfillColor={95,95,95})), 
    325330            Line(points=[50, 0; 50, 60], style( 
    326             color=10,  
    327             rgbcolor={95,95,95},  
    328             fillColor=10,  
     331            color=10, 
     332            rgbcolor={95,95,95}, 
     333            fillColor=10, 
    329334            rgbfillColor={95,95,95})), 
    330335            Text( 
    331336              extent=[35, 33; 50, 23], 
    332               string="1",  
    333           style( 
    334             color=0,  
    335             rgbcolor={0,0,0},  
    336             fillColor=10,  
     337              string="1", 
     338          style( 
     339            color=0, 
     340            rgbcolor={0,0,0}, 
     341            fillColor=10, 
    337342            rgbfillColor={95,95,95})), 
    338343            Text( 
    339344              extent=[14, 13; 32, 1], 
    340               string="1",  
    341           style( 
    342             color=0,  
    343             rgbcolor={0,0,0},  
    344             fillColor=10,  
     345              string="1", 
     346          style( 
     347            color=0, 
     348            rgbcolor={0,0,0}, 
     349            fillColor=10, 
    345350            rgbfillColor={95,95,95}))), 
    346351      Documentation(info="<html> 
     
    386391          Diagram( 
    387392            Polygon(points=[-80,90; -86,68; -74,68; -80,90], style(