psr-factory 5.0.0b45__py3-none-win_amd64.whl → 5.0.0b47__py3-none-win_amd64.whl
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 psr-factory might be problematic. Click here for more details.
- psr/factory/__init__.py +1 -1
- psr/factory/api.py +17 -0
- psr/factory/factory.dll +0 -0
- psr/factory/factory.pmk +1 -1
- psr/factory/factorylib.py +2 -0
- {psr_factory-5.0.0b45.dist-info → psr_factory-5.0.0b47.dist-info}/METADATA +1 -1
- {psr_factory-5.0.0b45.dist-info → psr_factory-5.0.0b47.dist-info}/RECORD +10 -10
- {psr_factory-5.0.0b45.dist-info → psr_factory-5.0.0b47.dist-info}/WHEEL +0 -0
- {psr_factory-5.0.0b45.dist-info → psr_factory-5.0.0b47.dist-info}/licenses/LICENSE.txt +0 -0
- {psr_factory-5.0.0b45.dist-info → psr_factory-5.0.0b47.dist-info}/top_level.txt +0 -0
psr/factory/__init__.py
CHANGED
psr/factory/api.py
CHANGED
|
@@ -2452,6 +2452,23 @@ def create(class_name: str,
|
|
|
2452
2452
|
return data_object
|
|
2453
2453
|
|
|
2454
2454
|
|
|
2455
|
+
def convert_output(input_path: Union[str, pathlib.Path], output_path: Union[str, pathlib.Path], **kwargs):
|
|
2456
|
+
_check_initialized()
|
|
2457
|
+
options: Optional[Union[dict, Value, DataObject]] = kwargs.get("options", None)
|
|
2458
|
+
input_path = str(input_path)
|
|
2459
|
+
output_path = str(output_path)
|
|
2460
|
+
error = Error()
|
|
2461
|
+
options_value = _get_arg_object(options)
|
|
2462
|
+
factorylib.lib.psrd_convert_output(_c_str(input_path),
|
|
2463
|
+
_bytes(input_path),
|
|
2464
|
+
_c_str(output_path),
|
|
2465
|
+
_bytes(output_path),
|
|
2466
|
+
options_value.handler(),
|
|
2467
|
+
error.handler())
|
|
2468
|
+
if error.code != 0:
|
|
2469
|
+
raise FactoryException(error.what)
|
|
2470
|
+
|
|
2471
|
+
|
|
2455
2472
|
def get_default_context() -> "Context":
|
|
2456
2473
|
_check_initialized()
|
|
2457
2474
|
return Context.default_context()
|
psr/factory/factory.dll
CHANGED
|
Binary file
|
psr/factory/factory.pmk
CHANGED
|
@@ -13051,7 +13051,7 @@ DEFINE_MASK CSVDATA SDDP_v14.0_opechd
|
|
|
13051
13051
|
|
|
13052
13052
|
DEFINE_HEADER
|
|
13053
13053
|
$version=1
|
|
13054
|
-
!Code,Name
|
|
13054
|
+
!Code,Name,TurbiningTravelTime,SpillingTravelTime,DischargeRampUp,DischargeRampDown,RampUp,RampDown,Commitment,StartupCost,MaxStartup,TurbRampUp,TurbRampDown,SpilRampUp,SpilRampDown,ForebayRampUp,ForebayRampDown,ForebayRampUpDay,ForebayRampDownDay
|
|
13055
13055
|
END_HEADER
|
|
13056
13056
|
|
|
13057
13057
|
DEFINE_DATA
|
psr/factory/factorylib.py
CHANGED
|
@@ -373,4 +373,6 @@ def initialize():
|
|
|
373
373
|
lib.psrd_date_iterator_at_end.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool), ctypes.c_void_p]
|
|
374
374
|
lib.psrd_date_iterator_get_value.restype = ctypes.c_int
|
|
375
375
|
lib.psrd_date_iterator_get_value.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.c_long, ctypes.c_void_p]
|
|
376
|
+
lib.psrd_convert_output.restype = ctypes.c_int
|
|
377
|
+
lib.psrd_convert_output.argtypes = [ctypes.c_char_p, ctypes.c_long, ctypes.c_char_p, ctypes.c_long, ctypes.c_void_p, ctypes.c_void_p]
|
|
376
378
|
|
|
@@ -16,12 +16,12 @@ psr/execqueue/config.py,sha256=rUOzO5dtTkwWoZlZfk06K9RE94xCx53T1bJ1h5JaDUo,1446
|
|
|
16
16
|
psr/execqueue/db.py,sha256=sNr_StNEgZZQCKcyCWiB1WrQJIhE9UvLUxPA2tWiXGs,8498
|
|
17
17
|
psr/execqueue/server.py,sha256=LolYERWRt96P_ip4yKU7DsN7M_n9d_pbflbT0ckUV0E,15782
|
|
18
18
|
psr/execqueue/watcher.py,sha256=R1dyXJ-OYn_QjqdItBwbLJZQ2LcbtdHqnRaYkyphi4w,5637
|
|
19
|
-
psr/factory/__init__.py,sha256=
|
|
20
|
-
psr/factory/api.py,sha256=
|
|
21
|
-
psr/factory/factory.dll,sha256=
|
|
19
|
+
psr/factory/__init__.py,sha256=v79dUKI3wH0ErW3nDBPZo5wAysJ0k5yAyaaaI5odVp0,219
|
|
20
|
+
psr/factory/api.py,sha256=ttRLilLZqkYUglLLoE0rXDfbENZ-PMSpvfkZU6fjn5k,105058
|
|
21
|
+
psr/factory/factory.dll,sha256=TKfDSRQJ8tWX0W5GnoccvLkMp0M_6fcTBuOzpLcbdCU,18740048
|
|
22
22
|
psr/factory/factory.pmd,sha256=XCa78VZaYplQTjx3H3lkIqUh-iIwIa1FO8ElU0DiGtY,251366
|
|
23
|
-
psr/factory/factory.pmk,sha256
|
|
24
|
-
psr/factory/factorylib.py,sha256=
|
|
23
|
+
psr/factory/factory.pmk,sha256=xUmWIJKh_I3Ng9BVhaxB3I9xNXR3e--QnWlSgaN2m5A,600775
|
|
24
|
+
psr/factory/factorylib.py,sha256=wrgb1oaY9SkehzDXCn4RdTb26YFaem-ZwXOBPfhwOf0,28481
|
|
25
25
|
psr/factory/libcurl-x64.dll,sha256=I6-VFSZyO5C-hV4pGmFHRblnSO6E3wBWze_0LVnKboA,5317968
|
|
26
26
|
psr/factory/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
27
27
|
psr/factory/samples/__init__.py,sha256=xxOch5Fokzjy571a6OHD87FWM17qKgvfcbr8xn-n36I,80
|
|
@@ -36,8 +36,8 @@ psr/psrfcommon/tempfile.py,sha256=5S13wa2DCLYTUdwbLm_KMBRnDRJ0WDlu8GO2BmZoNdg,39
|
|
|
36
36
|
psr/runner/__init__.py,sha256=kI9HDX-B_LMQJUHHylFHas2rNpWfNNa0pZXoIvX_Alw,230
|
|
37
37
|
psr/runner/runner.py,sha256=hCVH62HAZK_M9YUiHQgqCkMevN17utegjfRIw49MdvM,27542
|
|
38
38
|
psr/runner/version.py,sha256=mch2Y8anSXGMn9w72Z78PhSRhOyn55EwaoLAYhY4McE,194
|
|
39
|
-
psr_factory-5.0.
|
|
40
|
-
psr_factory-5.0.
|
|
41
|
-
psr_factory-5.0.
|
|
42
|
-
psr_factory-5.0.
|
|
43
|
-
psr_factory-5.0.
|
|
39
|
+
psr_factory-5.0.0b47.dist-info/licenses/LICENSE.txt,sha256=N6mqZK2Ft3iXGHj-by_MHC_dJo9qwn0URjakEPys3H4,1089
|
|
40
|
+
psr_factory-5.0.0b47.dist-info/METADATA,sha256=Wdaoza3IsL3po-7UBjcHKBWKZn55TrOecBdkUZkJTEk,3486
|
|
41
|
+
psr_factory-5.0.0b47.dist-info/WHEEL,sha256=ZjXRCNaQ9YSypEK2TE0LRB0sy2OVXSszb4Sx1XjM99k,97
|
|
42
|
+
psr_factory-5.0.0b47.dist-info/top_level.txt,sha256=Jb393O96WQk3b5D1gMcrZBLKJJgZpzNjTPoldUi00ck,4
|
|
43
|
+
psr_factory-5.0.0b47.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|