forked from Mathemodica/ADMSL
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
39 changed files
with
99 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
...asic/intermediate/ResisterWithHeatPort.mo → ...asic/intermediate/ResistorWithHeatPort.mo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
within ADMSL.Electrical.Analog.Basic.intermediate; | ||
class ResisterWithHeatPort | ||
class ResistorWithHeatPort | ||
"AD version of Modelica.Electrical.Analog.Basic.ResistorWithHeatPort" | ||
extends Resistor( | ||
redeclare replaceable class ConditionalHeatPort = | ||
ADMSL.Electrical.Analog.Interfaces.ConditionalHeatPort1); | ||
end ResisterWithHeatPort; | ||
end ResistorWithHeatPort; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
within ADMSL.Electrical.Analog.Basic; | ||
package intermediate "equivalent preprocessed algorithmically differentiated components" | ||
package intermediate "Preprocessed algorithmically differentiated components" | ||
|
||
|
||
end intermediate; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Resistor | ||
ResisterWithHeatPort | ||
ResistorWithHeatPort | ||
Conductor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
within ADMSL.Electrical.Analog; | ||
package Basic | ||
package Basic "The AD version of Modelica.Electrical.Analog.Basic" | ||
extends Modelica.Icons.Package; | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
annotation(Icon(coordinateSystem(extent = {{-100,-100},{100,100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2,2})), Diagram(coordinateSystem(extent = {{-100,-100},{100,100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2,2}))); | ||
end Basic; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Ground | ||
Conductor | ||
Inductor | ||
Capacitor | ||
Resistor | ||
intermediate | ||
Conductor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
within ADMSL.Electrical.Analog; | ||
package Examples | ||
package Examples "The AD version of Modelica.Electrical.Analog.Examples" | ||
extends Modelica.Icons.ExamplesPackage; | ||
|
||
|
||
end Examples; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
within ADMSL.Electrical.Analog.Interfaces; | ||
connector Pin | ||
connector Pin "AD version of Modelica.Electrical.Analog.Interfaces.Pin" | ||
extends Modelica.Electrical.Analog.Interfaces.Pin; | ||
extends ADMSL.Utilities.GradientInfo; | ||
Real g_v[NG] "gradient of the voltage"; | ||
flow Real g_i[NG] "gradient of the current"; | ||
Real g_v[NG] "The gradient of the voltage"; | ||
flow Real g_i[NG] "The gradient of the current"; | ||
annotation(Icon(coordinateSystem(extent = {{-100,-100},{100,100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2,2})), Diagram(coordinateSystem(extent = {{-100,-100},{100,100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2,2}))); | ||
end Pin; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
within ADMSL.Electrical.Analog; | ||
package Interfaces | ||
package Interfaces "The AD version of Modelica.Electrical.Analog.Interfaces" | ||
extends Modelica.Icons.InterfacesPackage; | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
end Interfaces; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
within ADMSL.Electrical; | ||
package Analog | ||
package Analog "The AD version of Modelica.Electrical.Analog" | ||
extends Modelica.Icons.Package; | ||
|
||
|
||
|
||
|
||
annotation(Icon(coordinateSystem(extent = {{-100,-100},{100,100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2,2})), Diagram(coordinateSystem(extent = {{-100,-100},{100,100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2,2}))); | ||
end Analog; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
within ADMSL.MSL.Electrical.Analog; | ||
package Basic | ||
package Basic "Slightly modified version of some components with Modelica.Electrical.Analog.Basic" | ||
extends Modelica.Icons.BasesPackage; | ||
|
||
|
||
|
||
|
||
end Basic; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
within ADMSL.MSL.Electrical.Analog.Examples; | ||
package Utilities | ||
package Utilities "Slightly modified version of some components with Modelica.Electrical.Analog.Examples.Utilities" | ||
extends Modelica.Icons.BasesPackage; | ||
end Utilities; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
within ADMSL.MSL.Electrical.Analog; | ||
package Examples | ||
package Examples "Slightly modified version of some components with Modelica.Electrical.Analog.Examples" | ||
extends Modelica.Icons.ExamplesPackage; | ||
|
||
|
||
end Examples; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
within ADMSL.MSL.Electrical.Analog; | ||
package Interfaces | ||
package Interfaces "Slightly modified version of some components with Modelica.Electrical.Analog.Interfaces" | ||
extends Modelica.Icons.InterfacesPackage; | ||
|
||
|
||
|
||
end Interfaces; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
within ADMSL.MSL.Electrical; | ||
package Analog | ||
package Analog "Slightly modified version of some components with Modelica.Electrical.Analog" | ||
extends Modelica.Icons.BasesPackage; | ||
|
||
|
||
end Analog; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
within ADMSL.MSL; | ||
package Electrical | ||
package Electrical "Slightly modified version of some components with Modelica.Electrical" | ||
extends Modelica.Icons.BasesPackage; | ||
end Electrical; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
within ADMSL.Thermal.HeatTransfer; | ||
package Interfaces | ||
package Interfaces "The AD version of Modelica.Electrical.HeatTransfer.Interfaces" | ||
extends Modelica.Icons.InterfacesPackage; | ||
|
||
end Interfaces; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
within ADMSL.Thermal; | ||
package HeatTransfer | ||
package HeatTransfer "The AD version of Modelica.Thermal.HeatTransfer" | ||
end HeatTransfer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
within ADMSL; | ||
package Thermal | ||
package Thermal "The AD version of Modelica.Thermal" | ||
end Thermal; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
within ADMSL; | ||
package UnitTests | ||
package UnitTests "Unit tests for inserted and modified components" | ||
end UnitTests; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
within ADMSL; | ||
package Utilities "useful utilities functions etc." | ||
package Utilities "useful utilities functions and interfaces used across the library" | ||
extends Modelica.Icons.Package; | ||
|
||
end Utilities; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters