Skip to content

Commit

Permalink
documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
AtiyahElsheikh committed Dec 7, 2018
1 parent fc4fd08 commit a92b3a0
Show file tree
Hide file tree
Showing 15 changed files with 17 additions and 94 deletions.
22 changes: 1 addition & 21 deletions Examples/package.mo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
within GenKinetics;
package Examples
package Examples "set of examples"
extends Modelica.Icons.ExamplesPackage;

model SpirallusLinLog "An abstraction of the TCA cycle with dynamic arbitrary number of connections implemented "
Expand Down Expand Up @@ -63,26 +63,6 @@ package Examples
























annotation (
Documentation(info="<html>
Expand Down
35 changes: 1 addition & 34 deletions Icons/package.mo
Original file line number Diff line number Diff line change
@@ -1,42 +1,9 @@
within GenKinetics;
package Icons
package Icons "all icons used across the library"
extends Modelica.Icons.IconsPackage;




































annotation (
Documentation(info="<html>
<p>This subpackage contains basic icons to be reused acroos the library.&nbsp;</p>
Expand Down
6 changes: 1 addition & 5 deletions Interfaces/package.mo
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
within GenKinetics;
package Interfaces
package Interfaces "basic interfaces used across the library"
extends Modelica.Icons.InterfacesPackage;







annotation (
Documentation(info="<html>
<p>This package contains all interfaces, abstract models, connectors etc. utilized by the components throughout the library.</p>
Expand Down
3 changes: 1 addition & 2 deletions Reactions/Convenience/Auto/InhIrrKinetic.mo
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ model InhIrrKinetic "S1 + S2 + ... ==I1,I2,...==> P1 + P2 + ... "
replaceable model Modifiers = Convenience.InhibitionTerm (redeclare
final model Activation =
Interfaces.Reactions.Modifiers.Auto.NoActivation), redeclare final
model Reversibility =
Interfaces.Reactions.Reversible.OneWay);
model Reversibility = Interfaces.Reactions.Reversible.OneWay);

equation

Expand Down
2 changes: 1 addition & 1 deletion Reactions/Convenience/AutoTypes3/IrrUniBiI1.mo
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
within GenKinetics.Reactions.Convenience.AutoTypes3;
model IrrUniBiI1
extends GenKinetics.Reactions.Convenience.Auto.InhIrrKinetic(redeclare final
model Dimensionality =
model Dimensionality =
GenKinetics.Interfaces.Reactions.Basics.Auto.Dimension.UniBi,
redeclare final model Inhibition =
GenKinetics.Interfaces.Reactions.Modifiers.Auto.Inhibitor);
Expand Down
2 changes: 1 addition & 1 deletion Reactions/Convenience/AutoTypes3/IrrUniUniI1.mo
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
within GenKinetics.Reactions.Convenience.AutoTypes3;
model IrrUniUniI1
extends GenKinetics.Reactions.Convenience.Auto.InhIrrKinetic(redeclare final
model Dimensionality =
model Dimensionality =
GenKinetics.Interfaces.Reactions.Basics.Auto.Dimension.UniUni,
redeclare final model Inhibition =
GenKinetics.Interfaces.Reactions.Modifiers.Auto.Inhibitor);
Expand Down
2 changes: 1 addition & 1 deletion Reactions/LinLog/Auto/ActKinetic.mo
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ model ActKinetic "Implementation of Linlog Kinetic with Activation"
import GenKinetics;
extends GenKinetics.Reactions.LinLog.ReactionTerm(redeclare final model
Modifiers = GenKinetics.Reactions.LinLog.ActivationTerm (redeclare final
model Inhibition =
model Inhibition =
GenKinetics.Interfaces.Reactions.Modifiers.Auto.NoInhibition));
equation
v = v_steady + R + A;
Expand Down
2 changes: 1 addition & 1 deletion Reactions/LinLog/Auto/InhKinetic.mo
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ model InhKinetic "Implementation of Linlog Kinetic with Inhibtion"
import GenKinetics;
extends GenKinetics.Reactions.LinLog.ReactionTerm(redeclare final model
Modifiers = GenKinetics.Reactions.LinLog.InhibitionTerm (redeclare final
model Activation =
model Activation =
GenKinetics.Interfaces.Reactions.Modifiers.Auto.NoActivation));
equation
v = v_steady + R + I;
Expand Down
2 changes: 1 addition & 1 deletion Reactions/package.mo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
within GenKinetics;
package Reactions
package Reactions "Reaction components"
extends Modelica.Icons.VariantsPackage;

annotation (
Expand Down
2 changes: 1 addition & 1 deletion Substances/package.mo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
within GenKinetics;
package Substances
package Substances "Substances components"
extends Modelica.Icons.Package;

annotation (
Expand Down
4 changes: 2 additions & 2 deletions UnitTests/Internal/DynamicTypes2.mo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
within GenKinetics.UnitTests.Internal;
package DynamicTypes2 = DynamicTypes (redeclare replaceable class ReactionTypes =
GenKinetics.Reactions.Convenience.AutoTypes2);
package DynamicTypes2 = DynamicTypes (redeclare replaceable class ReactionTypes
= GenKinetics.Reactions.Convenience.AutoTypes2);
4 changes: 2 additions & 2 deletions UnitTests/Internal/DynamicTypes3.mo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
within GenKinetics.UnitTests.Internal;
package DynamicTypes3 = DynamicTypes (redeclare replaceable class ReactionTypes =
GenKinetics.Reactions.Convenience.AutoTypes);
package DynamicTypes3 = DynamicTypes (redeclare replaceable class ReactionTypes
= GenKinetics.Reactions.Convenience.AutoTypes);
20 changes: 1 addition & 19 deletions UnitTests/package.mo
Original file line number Diff line number Diff line change
@@ -1,26 +1,8 @@
within GenKinetics;
package UnitTests
package UnitTests "unit tests"
extends Modelica.Icons.Package;























Expand Down
2 changes: 1 addition & 1 deletion Units/package.mo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
within GenKinetics;
package Units
package Units "all physical units used across the library"
extends Modelica.Icons.TypesPackage;

type Concentration = Modelica.Icons.TypeReal(final quantity="Concentration",final unit = "mol/l", min = 0)
Expand Down
3 changes: 1 addition & 2 deletions UserGuide/package.mo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
within GenKinetics;
package UserGuide
package UserGuide "user guide"
extends Modelica.Icons.Information;

model Overview
Expand Down Expand Up @@ -75,7 +75,6 @@ modelica://GenKinetics.Interfaces.Dynamic.Dimension.ReactionDimension\">GenKinet
</html>"));
end Contact;


model ReleaseNotes
extends Modelica.Icons.ReleaseNotes;
annotation (
Expand Down

0 comments on commit a92b3a0

Please sign in to comment.