OpenSimula 0.0.2__tar.gz → 0.0.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of OpenSimula might be problematic. Click here for more details.

Files changed (145) hide show
  1. {opensimula-0.0.2 → opensimula-0.0.3}/PKG-INFO +1 -1
  2. {opensimula-0.0.2 → opensimula-0.0.3}/docs/getting_started.md +2 -2
  3. {opensimula-0.0.2 → opensimula-0.0.3}/pyproject.toml +1 -1
  4. {opensimula-0.0.2/src/opensimula → opensimula-0.0.3/src/OpenSimula}/Component.py +2 -2
  5. {opensimula-0.0.2/src/opensimula → opensimula-0.0.3/src/OpenSimula}/Parameter_container.py +1 -1
  6. {opensimula-0.0.2/src/opensimula → opensimula-0.0.3/src/OpenSimula}/Parameters.py +1 -1
  7. {opensimula-0.0.2/src/opensimula → opensimula-0.0.3/src/OpenSimula}/Project.py +3 -3
  8. {opensimula-0.0.2/src/opensimula → opensimula-0.0.3/src/OpenSimula}/Variable.py +1 -1
  9. opensimula-0.0.3/src/OpenSimula/__init__.py +8 -0
  10. {opensimula-0.0.2/src/opensimula → opensimula-0.0.3/src/OpenSimula}/components/Construction.py +2 -2
  11. {opensimula-0.0.2/src/opensimula → opensimula-0.0.3/src/OpenSimula}/components/Day_schedule.py +2 -2
  12. {opensimula-0.0.2/src/opensimula → opensimula-0.0.3/src/OpenSimula}/components/File_data.py +3 -3
  13. {opensimula-0.0.2/src/opensimula → opensimula-0.0.3/src/OpenSimula}/components/File_met.py +3 -3
  14. {opensimula-0.0.2/src/opensimula → opensimula-0.0.3/src/OpenSimula}/components/Material.py +2 -2
  15. {opensimula-0.0.2/src/opensimula → opensimula-0.0.3/src/OpenSimula}/components/Outdoor.py +3 -3
  16. {opensimula-0.0.2/src/opensimula → opensimula-0.0.3/src/OpenSimula}/components/Space.py +3 -3
  17. {opensimula-0.0.2/src/opensimula → opensimula-0.0.3/src/OpenSimula}/components/Test_component.py +3 -3
  18. {opensimula-0.0.2/src/opensimula → opensimula-0.0.3/src/OpenSimula}/components/Wall.py +3 -3
  19. {opensimula-0.0.2/src/opensimula → opensimula-0.0.3/src/OpenSimula}/components/Week_schedule.py +2 -2
  20. {opensimula-0.0.2/src/opensimula → opensimula-0.0.3/src/OpenSimula}/components/Year_schedule.py +3 -3
  21. opensimula-0.0.3/src/OpenSimula/components/__init__.py +11 -0
  22. {opensimula-0.0.2 → opensimula-0.0.3}/test/debug_opensimula.py +1 -1
  23. {opensimula-0.0.2 → opensimula-0.0.3}/test/example_opensimula.ipynb +1 -1
  24. {opensimula-0.0.2 → opensimula-0.0.3}/test/example_opensimula.py +1 -1
  25. {opensimula-0.0.2 → opensimula-0.0.3}/test/structure_tests.ipynb +1 -1
  26. {opensimula-0.0.2 → opensimula-0.0.3}/test/temp_tests.ipynb +1 -1
  27. {opensimula-0.0.2 → opensimula-0.0.3}/test/test_File_data.py +1 -1
  28. {opensimula-0.0.2 → opensimula-0.0.3}/test/test_Project.py +2 -2
  29. {opensimula-0.0.2 → opensimula-0.0.3}/test/test_Schedules.py +1 -1
  30. {opensimula-0.0.2 → opensimula-0.0.3}/test/test_Simulation.py +4 -4
  31. opensimula-0.0.2/src/opensimula/__init__.py +0 -8
  32. opensimula-0.0.2/src/opensimula/components/__init__.py +0 -11
  33. {opensimula-0.0.2 → opensimula-0.0.3}/.gitignore +0 -0
  34. {opensimula-0.0.2 → opensimula-0.0.3}/LICENSE +0 -0
  35. {opensimula-0.0.2 → opensimula-0.0.3}/README.md +0 -0
  36. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/404.html +0 -0
  37. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/__init__.py +0 -0
  38. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/base.html +0 -0
  39. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/content.html +0 -0
  40. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/css/base.css +0 -0
  41. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/css/base.min.css +0 -0
  42. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/css/bootstrap-custom.css +0 -0
  43. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/css/bootstrap-custom.min.css +0 -0
  44. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/css/cinder.css +0 -0
  45. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/css/cinder.min.css +0 -0
  46. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/css/highlight.css +0 -0
  47. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/css/highlight.min.css +0 -0
  48. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/fonts/fontawesome-webfont.eot +0 -0
  49. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/fonts/fontawesome-webfont.svg +0 -0
  50. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/fonts/fontawesome-webfont.ttf +0 -0
  51. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/fonts/fontawesome-webfont.woff +0 -0
  52. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/img/favicon.ico +0 -0
  53. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/img/grid1.png +0 -0
  54. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/img/grid10.png +0 -0
  55. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/img/grid11.png +0 -0
  56. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/img/grid12.png +0 -0
  57. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/img/grid13.png +0 -0
  58. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/img/grid14.png +0 -0
  59. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/img/grid15.png +0 -0
  60. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/img/grid16.png +0 -0
  61. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/img/grid17.png +0 -0
  62. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/img/grid18.png +0 -0
  63. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/img/grid19.png +0 -0
  64. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/img/grid2.png +0 -0
  65. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/img/grid20.png +0 -0
  66. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/img/grid3.png +0 -0
  67. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/img/grid4.png +0 -0
  68. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/img/grid5.png +0 -0
  69. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/img/grid6.png +0 -0
  70. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/img/grid7.png +0 -0
  71. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/img/grid8.png +0 -0
  72. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/img/grid9.png +0 -0
  73. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/js/base.js +0 -0
  74. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/js/bootstrap-3.0.3.min.js +0 -0
  75. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/keyboard-modal.html +0 -0
  76. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/main.html +0 -0
  77. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/mkdocs_theme.yml +0 -0
  78. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/nav-sub.html +0 -0
  79. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/nav.html +0 -0
  80. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/search-modal.html +0 -0
  81. {opensimula-0.0.2 → opensimula-0.0.3}/docs/cinder/toc.html +0 -0
  82. {opensimula-0.0.2 → opensimula-0.0.3}/docs/component_list.md +0 -0
  83. {opensimula-0.0.2 → opensimula-0.0.3}/docs/developer_guide.md +0 -0
  84. {opensimula-0.0.2 → opensimula-0.0.3}/docs/img/favicon.ico +0 -0
  85. {opensimula-0.0.2 → opensimula-0.0.3}/docs/img/global_structure.png +0 -0
  86. {opensimula-0.0.2 → opensimula-0.0.3}/docs/img/icon_opensimula.ico +0 -0
  87. {opensimula-0.0.2 → opensimula-0.0.3}/docs/img/icon_opensimula.png +0 -0
  88. {opensimula-0.0.2 → opensimula-0.0.3}/docs/img/logo_opensimula.png +0 -0
  89. {opensimula-0.0.2 → opensimula-0.0.3}/docs/img/parameters.png +0 -0
  90. {opensimula-0.0.2 → opensimula-0.0.3}/docs/img/schedule_plot.png +0 -0
  91. {opensimula-0.0.2 → opensimula-0.0.3}/docs/img/variables.png +0 -0
  92. {opensimula-0.0.2 → opensimula-0.0.3}/docs/index.md +0 -0
  93. {opensimula-0.0.2 → opensimula-0.0.3}/docs/logos/global_structure.drawio +0 -0
  94. {opensimula-0.0.2 → opensimula-0.0.3}/docs/logos/opensimula_logo.drawio +0 -0
  95. {opensimula-0.0.2 → opensimula-0.0.3}/docs/logos/opensimula_logo.drawio.svg +0 -0
  96. {opensimula-0.0.2 → opensimula-0.0.3}/docs/logos/paramaters.drawio +0 -0
  97. {opensimula-0.0.2 → opensimula-0.0.3}/docs/logos/variables.drawio +0 -0
  98. {opensimula-0.0.2 → opensimula-0.0.3}/docs/user_guide.md +0 -0
  99. {opensimula-0.0.2 → opensimula-0.0.3}/makefile +0 -0
  100. {opensimula-0.0.2 → opensimula-0.0.3}/mkdocs.yml +0 -0
  101. {opensimula-0.0.2 → opensimula-0.0.3}/requirements.txt +0 -0
  102. {opensimula-0.0.2/src/opensimula → opensimula-0.0.3/src/OpenSimula}/Child.py +0 -0
  103. {opensimula-0.0.2/src/opensimula → opensimula-0.0.3/src/OpenSimula}/Simulation.py +0 -0
  104. {opensimula-0.0.2 → opensimula-0.0.3}/test/examples/bdd_project.json +0 -0
  105. {opensimula-0.0.2 → opensimula-0.0.3}/test/examples/bdd_project.xlsx +0 -0
  106. {opensimula-0.0.2 → opensimula-0.0.3}/test/examples/data_example.csv +0 -0
  107. {opensimula-0.0.2 → opensimula-0.0.3}/test/examples/data_example.xlsx +0 -0
  108. {opensimula-0.0.2 → opensimula-0.0.3}/test/examples/example_project.xlsx +0 -0
  109. {opensimula-0.0.2 → opensimula-0.0.3}/test/examples/test_project_1.json +0 -0
  110. {opensimula-0.0.2 → opensimula-0.0.3}/test/examples/test_project_1.xlsx +0 -0
  111. {opensimula-0.0.2 → opensimula-0.0.3}/test/examples/test_project_2.json +0 -0
  112. {opensimula-0.0.2 → opensimula-0.0.3}/test/examples/test_project_2.xlsx +0 -0
  113. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/leeme.txt +0 -0
  114. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaA1c.met +0 -0
  115. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaA2c.met +0 -0
  116. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaA3.met +0 -0
  117. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaA3c.met +0 -0
  118. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaA4.met +0 -0
  119. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaA4c.met +0 -0
  120. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaAlfa1c.met +0 -0
  121. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaAlfa2c.met +0 -0
  122. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaAlfa3c.met +0 -0
  123. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaAlfa4c.met +0 -0
  124. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaB1c.met +0 -0
  125. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaB2c.met +0 -0
  126. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaB3.met +0 -0
  127. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaB3c.met +0 -0
  128. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaB4.met +0 -0
  129. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaB4c.met +0 -0
  130. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaC1.met +0 -0
  131. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaC1c.met +0 -0
  132. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaC2.met +0 -0
  133. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaC2c.met +0 -0
  134. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaC3.met +0 -0
  135. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaC3c.met +0 -0
  136. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaC4.met +0 -0
  137. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaC4c.met +0 -0
  138. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaD1.met +0 -0
  139. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaD1c.met +0 -0
  140. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaD2.met +0 -0
  141. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaD2c.met +0 -0
  142. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaD3.met +0 -0
  143. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaD3c.met +0 -0
  144. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaE1.met +0 -0
  145. {opensimula-0.0.2 → opensimula-0.0.3}/test/meteo/zonaE1c.met +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: OpenSimula
3
- Version: 0.0.2
3
+ Version: 0.0.3
4
4
  Summary: Component-based time simulation environment in Python
5
5
  Project-URL: Homepage, http://opensimula.org
6
6
  Project-URL: Repository, https://github.com/jfCoronel/OpenSimula
@@ -122,10 +122,10 @@ Finally, the `Year_schedule` named `year` sets three annual periods using the `p
122
122
  - August 1st to September 1st: `holiday_week`.
123
123
  - September 1st to December 31st: `working_week`.
124
124
 
125
- To simulate this project that we have defined, we first import the opensimula package with the alias osm, create a simulation environment in the `sim` variable, a project within that simulation environment called `pro`. We load the project reading the dictionary that we have explained previously with the `read_dict` function available for projects and we simulate it using the `simulate()` function.
125
+ To simulate this project that we have defined, we first import the OpenSimula package with the alias osm, create a simulation environment in the `sim` variable, a project within that simulation environment called `pro`. We load the project reading the dictionary that we have explained previously with the `read_dict` function available for projects and we simulate it using the `simulate()` function.
126
126
 
127
127
  <pre><code class="python">
128
- import opensimula as osm
128
+ import OpenSimula as osm
129
129
 
130
130
  sim = osm.Simulation()
131
131
  pro = osm.Project(sim)
@@ -5,7 +5,7 @@ build-backend = "hatchling.build"
5
5
 
6
6
  [project]
7
7
  name = "OpenSimula"
8
- version = "0.0.2"
8
+ version = "0.0.3"
9
9
  authors = [
10
10
  { name="Juan F. Coronel", email="jfc@us.es" },
11
11
  ]
@@ -1,6 +1,6 @@
1
1
  import pandas as pd
2
- from opensimula.Parameter_container import Parameter_container
3
- from opensimula.Parameters import Parameter_string
2
+ from OpenSimula.Parameter_container import Parameter_container
3
+ from OpenSimula.Parameters import Parameter_string
4
4
 
5
5
 
6
6
  class Component(Parameter_container):
@@ -1,5 +1,5 @@
1
1
  import pandas as pd
2
- from opensimula.Parameters import Parameter_string
2
+ from OpenSimula.Parameters import Parameter_string
3
3
 
4
4
 
5
5
  class Parameter_container:
@@ -1,5 +1,5 @@
1
1
  import sys
2
- from opensimula.Child import Child
2
+ from OpenSimula.Child import Child
3
3
 
4
4
  # ___________________ Parameter _________________________
5
5
 
@@ -2,9 +2,9 @@ import json
2
2
  import datetime as dt
3
3
  import numpy as np
4
4
  import pandas as pd
5
- from opensimula.Parameter_container import Parameter_container
6
- from opensimula.Parameters import Parameter_int, Parameter_string, Parameter_string_list
7
- from opensimula.components import *
5
+ from OpenSimula.Parameter_container import Parameter_container
6
+ from OpenSimula.Parameters import Parameter_int, Parameter_string, Parameter_string_list
7
+ from OpenSimula.components import *
8
8
 
9
9
 
10
10
  class Project(Parameter_container):
@@ -1,5 +1,5 @@
1
1
  import numpy as np
2
- from opensimula.Child import Child
2
+ from OpenSimula.Child import Child
3
3
 
4
4
  # _________________ Variable ___________________________
5
5
 
@@ -0,0 +1,8 @@
1
+ """OpenSimula Package
2
+
3
+ OpenSimula is a Python Package for perform time simulations
4
+
5
+ """
6
+
7
+ from OpenSimula.Simulation import Simulation
8
+ from OpenSimula.Project import Project
@@ -1,5 +1,5 @@
1
- from opensimula.Parameters import Parameter_component_list, Parameter_float_list
2
- from opensimula.Component import Component
1
+ from OpenSimula.Parameters import Parameter_component_list, Parameter_float_list
2
+ from OpenSimula.Component import Component
3
3
 
4
4
 
5
5
  class Construction(Component):
@@ -1,10 +1,10 @@
1
1
  from bisect import bisect
2
- from opensimula.Parameters import (
2
+ from OpenSimula.Parameters import (
3
3
  Parameter_int_list,
4
4
  Parameter_float_list,
5
5
  Parameter_options,
6
6
  )
7
- from opensimula.Component import Component
7
+ from OpenSimula.Component import Component
8
8
 
9
9
 
10
10
  class Day_schedule(Component):
@@ -1,7 +1,7 @@
1
1
  import pandas as pd
2
- from opensimula.Parameters import Parameter_string, Parameter_options
3
- from opensimula.Component import Component
4
- from opensimula.Variable import Variable
2
+ from OpenSimula.Parameters import Parameter_string, Parameter_options
3
+ from OpenSimula.Component import Component
4
+ from OpenSimula.Variable import Variable
5
5
 
6
6
 
7
7
  class File_data(Component):
@@ -1,8 +1,8 @@
1
1
  import numpy as np
2
2
  import datetime as dt
3
3
  import math
4
- from opensimula.Parameters import Parameter_string
5
- from opensimula.Component import Component
4
+ from OpenSimula.Parameters import Parameter_string
5
+ from OpenSimula.Component import Component
6
6
 
7
7
 
8
8
  class File_met(Component):
@@ -25,7 +25,7 @@ class File_met(Component):
25
25
  self.sol_cenit = np.zeros(8760)
26
26
 
27
27
  def check(self):
28
- errors = super().check()
28
+ errors = super().check()
29
29
  # Read the file
30
30
  try:
31
31
  f = open(self.parameter("file_name").value, "r")
@@ -1,5 +1,5 @@
1
- from opensimula.Parameters import Parameter_boolean, Parameter_float
2
- from opensimula.Component import Component
1
+ from OpenSimula.Parameters import Parameter_boolean, Parameter_float
2
+ from OpenSimula.Component import Component
3
3
 
4
4
 
5
5
  class Material(Component):
@@ -1,8 +1,8 @@
1
1
  import math
2
2
  import datetime as dt
3
- from opensimula.Component import Component
4
- from opensimula.Parameters import Parameter_component
5
- from opensimula.Variable import Variable
3
+ from OpenSimula.Component import Component
4
+ from OpenSimula.Parameters import Parameter_component
5
+ from OpenSimula.Variable import Variable
6
6
 
7
7
 
8
8
  class Outdoor(Component):
@@ -1,6 +1,6 @@
1
- from opensimula.Component import Component
2
- from opensimula.Parameters import Parameter_component_list
3
- from opensimula.Variable import Variable
1
+ from OpenSimula.Component import Component
2
+ from OpenSimula.Parameters import Parameter_component_list
3
+ from OpenSimula.Variable import Variable
4
4
 
5
5
 
6
6
  class Space(Component):
@@ -1,4 +1,4 @@
1
- from opensimula.Parameters import (
1
+ from OpenSimula.Parameters import (
2
2
  Parameter_boolean,
3
3
  Parameter_float,
4
4
  Parameter_int,
@@ -12,8 +12,8 @@ from opensimula.Parameters import (
12
12
  Parameter_options_list,
13
13
  Parameter_component_list,
14
14
  )
15
- from opensimula.Component import Component
16
- from opensimula.Variable import Variable
15
+ from OpenSimula.Component import Component
16
+ from OpenSimula.Variable import Variable
17
17
 
18
18
 
19
19
  class Test_component(Component):
@@ -1,6 +1,6 @@
1
- from opensimula.Component import Component
2
- from opensimula.Parameters import Parameter_options, Parameter_component
3
- from opensimula.Variable import Variable
1
+ from OpenSimula.Component import Component
2
+ from OpenSimula.Parameters import Parameter_options, Parameter_component
3
+ from OpenSimula.Variable import Variable
4
4
 
5
5
 
6
6
  class Wall(Component):
@@ -1,5 +1,5 @@
1
- from opensimula.Parameters import Parameter_component_list
2
- from opensimula.Component import Component
1
+ from OpenSimula.Parameters import Parameter_component_list
2
+ from OpenSimula.Component import Component
3
3
 
4
4
 
5
5
  class Week_schedule(Component):
@@ -1,8 +1,8 @@
1
1
  import datetime as dt
2
2
  from bisect import bisect
3
- from opensimula.Parameters import Parameter_component_list, Parameter_string_list
4
- from opensimula.Component import Component
5
- from opensimula.Variable import Variable
3
+ from OpenSimula.Parameters import Parameter_component_list, Parameter_string_list
4
+ from OpenSimula.Component import Component
5
+ from OpenSimula.Variable import Variable
6
6
 
7
7
 
8
8
  class Year_schedule(Component):
@@ -0,0 +1,11 @@
1
+ from OpenSimula.components.Material import Material
2
+ from OpenSimula.components.Construction import Construction
3
+ from OpenSimula.components.Test_component import Test_component
4
+ from OpenSimula.components.File_met import File_met
5
+ from OpenSimula.components.Outdoor import Outdoor
6
+ from OpenSimula.components.Space import Space
7
+ from OpenSimula.components.Wall import Wall
8
+ from OpenSimula.components.File_data import File_data
9
+ from OpenSimula.components.Day_schedule import Day_schedule
10
+ from OpenSimula.components.Week_schedule import Week_schedule
11
+ from OpenSimula.components.Year_schedule import Year_schedule
@@ -45,7 +45,7 @@ project_dic = {
45
45
  ],
46
46
  }
47
47
 
48
- import opensimula as osm
48
+ import OpenSimula as osm
49
49
 
50
50
  sim = osm.Simulation()
51
51
  pro = osm.Project(sim)
@@ -22,7 +22,7 @@
22
22
  }
23
23
  ],
24
24
  "source": [
25
- "import opensimula as oms\n",
25
+ "import OpenSimula as oms\n",
26
26
  "\n",
27
27
  "bdd_dic = {\n",
28
28
  " \"name\": \"Base de Datos\",\n",
@@ -1,4 +1,4 @@
1
- import opensimula as osm
1
+ import OpenSimula as osm
2
2
 
3
3
  bdd_json = {
4
4
  "name": "Base de Datos",
@@ -6,7 +6,7 @@
6
6
  "metadata": {},
7
7
  "outputs": [],
8
8
  "source": [
9
- "import opensimula as oms\n",
9
+ "import OpenSimula as oms\n",
10
10
  "\n",
11
11
  "p1_dic = {\n",
12
12
  " \"name\": \"project 1\",\n",
@@ -13,7 +13,7 @@
13
13
  "metadata": {},
14
14
  "outputs": [],
15
15
  "source": [
16
- "import opensimula as osm\n",
16
+ "import OpenSimula as osm\n",
17
17
  "project_dic = {\n",
18
18
  " \"name\": \"Test project\",\n",
19
19
  " \"time_step\": 3600,\n",
@@ -1,4 +1,4 @@
1
- import opensimula as osm
1
+ import OpenSimula as osm
2
2
 
3
3
  project_dic = {
4
4
  "name": "Test project",
@@ -1,5 +1,5 @@
1
- import opensimula as osm
2
- from opensimula.components.Material import Material
1
+ import OpenSimula as osm
2
+ from OpenSimula.components.Material import Material
3
3
 
4
4
  p1_dic = {
5
5
  "name": "project 1",
@@ -1,4 +1,4 @@
1
- import opensimula as osm
1
+ import OpenSimula as osm
2
2
 
3
3
  project_dic = {
4
4
  "name": "Test project",
@@ -1,11 +1,11 @@
1
- import opensimula
1
+ import OpenSimula
2
2
 
3
3
 
4
4
  def test_simulation():
5
- sim = opensimula.Simulation()
6
- p1 = opensimula.Project(sim)
5
+ sim = OpenSimula.Simulation()
6
+ p1 = OpenSimula.Project(sim)
7
7
  p1.parameter("name").value = "Project 1"
8
- p2 = opensimula.Project(sim)
8
+ p2 = OpenSimula.Project(sim)
9
9
  p2.parameter("name").value = "Project 2"
10
10
 
11
11
  assert len(sim.project_list()) == 2
@@ -1,8 +0,0 @@
1
- """opensimula Package
2
-
3
- opensimula is a Python Package for perform time simulations
4
-
5
- """
6
-
7
- from opensimula.Simulation import Simulation
8
- from opensimula.Project import Project
@@ -1,11 +0,0 @@
1
- from opensimula.components.Material import Material
2
- from opensimula.components.Construction import Construction
3
- from opensimula.components.Test_component import Test_component
4
- from opensimula.components.File_met import File_met
5
- from opensimula.components.Outdoor import Outdoor
6
- from opensimula.components.Space import Space
7
- from opensimula.components.Wall import Wall
8
- from opensimula.components.File_data import File_data
9
- from opensimula.components.Day_schedule import Day_schedule
10
- from opensimula.components.Week_schedule import Week_schedule
11
- from opensimula.components.Year_schedule import Year_schedule
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes