psr-factory 5.0.0b15__py3-none-win_amd64.whl → 5.0.0b17__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.
- psr/factory/__init__.py +1 -1
- psr/factory/api.py +23 -0
- psr/factory/factory.dll +0 -0
- psr/factory/factory.pmd +686 -659
- psr/factory/factory.pmk +54 -46
- psr/factory/factorylib.py +4 -0
- psr/factory/libcurl-x64.dll +0 -0
- {psr_factory-5.0.0b15.dist-info → psr_factory-5.0.0b17.dist-info}/METADATA +3 -3
- {psr_factory-5.0.0b15.dist-info → psr_factory-5.0.0b17.dist-info}/RECORD +12 -12
- {psr_factory-5.0.0b15.dist-info → psr_factory-5.0.0b17.dist-info}/WHEEL +0 -0
- {psr_factory-5.0.0b15.dist-info → psr_factory-5.0.0b17.dist-info}/licenses/LICENSE.txt +0 -0
- {psr_factory-5.0.0b15.dist-info → psr_factory-5.0.0b17.dist-info}/top_level.txt +0 -0
psr/factory/factory.pmk
CHANGED
@@ -16290,37 +16290,39 @@ END_MASK
|
|
16290
16290
|
DEFINE_MASK CSVDATA SDDP_dbusshunt
|
16291
16291
|
DEFINE_HEADER
|
16292
16292
|
$version=1
|
16293
|
-
!Code,Name,Bus,ControlledBus,ShuntControlType,Existing,NumberOfUnits,G,B
|
16293
|
+
!Code,Name,Bus,ControlledBus,ShuntControlType,Existing,NumberOfUnits,G,B,Decommissioned
|
16294
16294
|
END_HEADER
|
16295
16295
|
DEFINE_DATA
|
16296
|
-
Code
|
16297
|
-
Name
|
16298
|
-
BusCode
|
16299
|
-
ControlledBusCode
|
16300
|
-
ShuntControlType
|
16301
|
-
Existing
|
16302
|
-
NumberOfUnits
|
16303
|
-
G
|
16304
|
-
B
|
16296
|
+
Code INTEGER,1
|
16297
|
+
Name STRING,2
|
16298
|
+
BusCode INTEGER,3
|
16299
|
+
ControlledBusCode INTEGER,4
|
16300
|
+
ShuntControlType INTEGER,5 AUTOSET(model.parm("ShuntControlType"))
|
16301
|
+
Existing INTEGER,6 AUTOSET
|
16302
|
+
NumberOfUnits INTEGER,7 AUTOSET
|
16303
|
+
G REAL,8 AUTOSET
|
16304
|
+
B REAL,9 AUTOSET
|
16305
|
+
Decommissioned INTEGER,10 AUTOSET
|
16305
16306
|
END_DATA
|
16306
16307
|
END_MASK
|
16307
16308
|
//---------------------------------------------------------------------
|
16308
16309
|
DEFINE_MASK CSVDATA SDDP_mbusshunt
|
16309
16310
|
DEFINE_HEADER
|
16310
16311
|
$version=1
|
16311
|
-
!Day,Month,Year,Code,Name,Bus,Existing,NumberOfUnits,G,B
|
16312
|
+
!Day,Month,Year,Code,Name,Bus,Existing,NumberOfUnits,G,B,Decommissioned
|
16312
16313
|
END_HEADER
|
16313
16314
|
DEFINE_DATA
|
16314
|
-
Day
|
16315
|
-
Month
|
16316
|
-
Year
|
16317
|
-
Code
|
16318
|
-
Name
|
16319
|
-
BusCode
|
16320
|
-
Existing
|
16321
|
-
NumberOfUnits
|
16322
|
-
G
|
16323
|
-
B
|
16315
|
+
Day INTEGER,1
|
16316
|
+
Month INTEGER,2
|
16317
|
+
Year INTEGER,3
|
16318
|
+
Code INTEGER,4
|
16319
|
+
Name STRING,5
|
16320
|
+
BusCode INTEGER,6
|
16321
|
+
Existing INTEGER,7 AUTOSET
|
16322
|
+
NumberOfUnits INTEGER,8 AUTOSET
|
16323
|
+
G REAL,9 AUTOSET
|
16324
|
+
B REAL,10 AUTOSET
|
16325
|
+
Decommissioned INTEGER,11 AUTOSET
|
16324
16326
|
END_DATA
|
16325
16327
|
END_MASK
|
16326
16328
|
|
@@ -16329,37 +16331,39 @@ END_MASK
|
|
16329
16331
|
DEFINE_MASK CSVDATA SDDP_dlineshunt
|
16330
16332
|
DEFINE_HEADER
|
16331
16333
|
$version=1
|
16332
|
-
!Code,Name,Circuit,Existing,Gfrom,Bfrom,Gto,Bto
|
16334
|
+
!Code,Name,Circuit,Existing,Gfrom,Bfrom,Gto,Bto,Decommissioned
|
16333
16335
|
END_HEADER
|
16334
16336
|
DEFINE_DATA
|
16335
|
-
Code
|
16336
|
-
Name
|
16337
|
-
CircuitCode
|
16338
|
-
Existing
|
16339
|
-
Gfrom
|
16340
|
-
Bfrom
|
16341
|
-
Gto
|
16342
|
-
Bto
|
16337
|
+
Code INTEGER,1
|
16338
|
+
Name STRING,2
|
16339
|
+
CircuitCode INTEGER,3
|
16340
|
+
Existing INTEGER,4 AUTOSET
|
16341
|
+
Gfrom REAL,5 AUTOSET
|
16342
|
+
Bfrom REAL,6 AUTOSET
|
16343
|
+
Gto REAL,7 AUTOSET
|
16344
|
+
Bto REAL,8 AUTOSET
|
16345
|
+
Decommissioned INTEGER,9 AUTOSET
|
16343
16346
|
END_DATA
|
16344
16347
|
END_MASK
|
16345
16348
|
//---------------------------------------------------------------------
|
16346
16349
|
DEFINE_MASK CSVDATA SDDP_mlineshunt
|
16347
16350
|
DEFINE_HEADER
|
16348
16351
|
$version=1
|
16349
|
-
!Day,Month,Year,Code,Name,Circuit,Existing,Gfrom,Bfrom,Gto,Bto
|
16352
|
+
!Day,Month,Year,Code,Name,Circuit,Existing,Gfrom,Bfrom,Gto,Bto,Decommissioned
|
16350
16353
|
END_HEADER
|
16351
16354
|
DEFINE_DATA
|
16352
|
-
Day
|
16353
|
-
Month
|
16354
|
-
Year
|
16355
|
-
Code
|
16356
|
-
Name
|
16357
|
-
CircuitCode
|
16358
|
-
Existing
|
16359
|
-
Gfrom
|
16360
|
-
Bfrom
|
16361
|
-
Gto
|
16362
|
-
Bto
|
16355
|
+
Day INTEGER,1
|
16356
|
+
Month INTEGER,2
|
16357
|
+
Year INTEGER,3
|
16358
|
+
Code INTEGER,4
|
16359
|
+
Name STRING,5
|
16360
|
+
CircuitCode INTEGER,6
|
16361
|
+
Existing INTEGER,7 AUTOSET
|
16362
|
+
Gfrom REAL,8 AUTOSET
|
16363
|
+
Bfrom REAL,9 AUTOSET
|
16364
|
+
Gto REAL,10 AUTOSET
|
16365
|
+
Bto REAL,11 AUTOSET
|
16366
|
+
Decommissioned INTEGER,12 AUTOSET
|
16363
16367
|
END_DATA
|
16364
16368
|
END_MASK
|
16365
16369
|
//---------------------------------------------------------------------
|
@@ -16367,7 +16371,7 @@ END_MASK
|
|
16367
16371
|
DEFINE_MASK CSVDATA SDDP_dsvc
|
16368
16372
|
DEFINE_HEADER
|
16369
16373
|
$version=1
|
16370
|
-
!Code,Name,Bus,ControlledBus,ReactivePowerControlType,LimitsCorrectionType,Existing,NumberOfUnits,MinReactivePower,MaxReactivePower,Droop
|
16374
|
+
!Code,Name,Bus,ControlledBus,ReactivePowerControlType,LimitsCorrectionType,Existing,NumberOfUnits,MinReactivePower,MaxReactivePower,Droop,Decommissioned
|
16371
16375
|
END_HEADER
|
16372
16376
|
DEFINE_DATA
|
16373
16377
|
Code INTEGER,1
|
@@ -16381,6 +16385,7 @@ NumberOfUnits INTEGER,8 AUTOSET
|
|
16381
16385
|
MinReactivePower REAL,9 AUTOSET
|
16382
16386
|
MaxReactivePower REAL,10 AUTOSET
|
16383
16387
|
Droop REAL,11 AUTOSET
|
16388
|
+
Decommissioned INTEGER,12 AUTOSET
|
16384
16389
|
END_DATA
|
16385
16390
|
END_MASK
|
16386
16391
|
//---------------------------------------------------------------------
|
@@ -16388,7 +16393,7 @@ END_MASK
|
|
16388
16393
|
DEFINE_MASK CSVDATA SDDP_msvc
|
16389
16394
|
DEFINE_HEADER
|
16390
16395
|
$version=1
|
16391
|
-
!Day,Month,Year,Code,Name,Bus,Existing,NumberOfUnits,MinReactivePower,MaxReactivePower,Droop
|
16396
|
+
!Day,Month,Year,Code,Name,Bus,Existing,NumberOfUnits,MinReactivePower,MaxReactivePower,Droop,Decommissioned
|
16392
16397
|
END_HEADER
|
16393
16398
|
DEFINE_DATA
|
16394
16399
|
Day INTEGER,1
|
@@ -16402,6 +16407,7 @@ NumberOfUnits INTEGER,8 AUTOSET
|
|
16402
16407
|
MinReactivePower REAL,9 AUTOSET
|
16403
16408
|
MaxReactivePower REAL,10 AUTOSET
|
16404
16409
|
Droop REAL,11 AUTOSET
|
16410
|
+
Decommissioned INTEGER,12 AUTOSET
|
16405
16411
|
END_DATA
|
16406
16412
|
END_MASK
|
16407
16413
|
//---------------------------------------------------------------------
|
@@ -16409,7 +16415,7 @@ END_MASK
|
|
16409
16415
|
DEFINE_MASK CSVDATA SDDP_dsync
|
16410
16416
|
DEFINE_HEADER
|
16411
16417
|
$version=1
|
16412
|
-
!Code,Name,Bus,ControlledBus,DeviceType,ReactivePowerControlType,Existing,NumberOfUnits,MinReactivePower,MaxReactivePower,GR,GX,TR,TX,Tap
|
16418
|
+
!Code,Name,Bus,ControlledBus,DeviceType,ReactivePowerControlType,Existing,NumberOfUnits,MinReactivePower,MaxReactivePower,GR,GX,TR,TX,Tap,Decommissioned
|
16413
16419
|
END_HEADER
|
16414
16420
|
DEFINE_DATA
|
16415
16421
|
Code INTEGER,1
|
@@ -16427,6 +16433,7 @@ GX REAL,12 AUTOSET
|
|
16427
16433
|
TR REAL,13 AUTOSET
|
16428
16434
|
TX REAL,14 AUTOSET
|
16429
16435
|
Tap REAL,15 AUTOSET
|
16436
|
+
Decommissioned INTEGER,16 AUTOSET
|
16430
16437
|
END_DATA
|
16431
16438
|
END_MASK
|
16432
16439
|
//---------------------------------------------------------------------
|
@@ -16434,7 +16441,7 @@ END_MASK
|
|
16434
16441
|
DEFINE_MASK CSVDATA SDDP_msync
|
16435
16442
|
DEFINE_HEADER
|
16436
16443
|
$version=1
|
16437
|
-
!Day,Month,Year,Code,Name,Bus,Existing,NumberOfUnits,MinReactivePower,MaxReactivePower,GR,GX,TR,TX,Tap
|
16444
|
+
!Day,Month,Year,Code,Name,Bus,Existing,NumberOfUnits,MinReactivePower,MaxReactivePower,GR,GX,TR,TX,Tap,Decommissioned
|
16438
16445
|
END_HEADER
|
16439
16446
|
DEFINE_DATA
|
16440
16447
|
Day INTEGER,1
|
@@ -16452,6 +16459,7 @@ GX REAL,12 AUTOSET
|
|
16452
16459
|
TR REAL,13 AUTOSET
|
16453
16460
|
TX REAL,14 AUTOSET
|
16454
16461
|
Tap REAL,15 AUTOSET
|
16462
|
+
Decommissioned INTEGER,16 AUTOSET
|
16455
16463
|
END_DATA
|
16456
16464
|
END_MASK
|
16457
16465
|
//---------------------------------------------------------------------
|
psr/factory/factorylib.py
CHANGED
@@ -289,6 +289,10 @@ def initialize():
|
|
289
289
|
lib.psrd_table_load.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.c_long, ctypes.c_void_p, ctypes.c_void_p]
|
290
290
|
lib.psrd_table_save.restype = ctypes.c_int
|
291
291
|
lib.psrd_table_save.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.c_long, ctypes.c_void_p, ctypes.c_void_p]
|
292
|
+
lib.psrd_table_set_property.restype = ctypes.c_int
|
293
|
+
lib.psrd_table_set_property.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.c_long, ctypes.c_void_p, ctypes.c_void_p]
|
294
|
+
lib.psrd_table_get_property.restype = ctypes.c_int
|
295
|
+
lib.psrd_table_get_property.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.c_void_p, ctypes.c_void_p]
|
292
296
|
lib.psrd_table_is_indexed.restype = ctypes.c_int
|
293
297
|
lib.psrd_table_is_indexed.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool), ctypes.c_void_p]
|
294
298
|
lib.psrd_table_resize.restype = ctypes.c_int
|
psr/factory/libcurl-x64.dll
CHANGED
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: psr-factory
|
3
|
-
Version: 5.0.
|
3
|
+
Version: 5.0.0b17
|
4
4
|
Summary: PSR database management module.
|
5
5
|
Author-email: "PSR Inc." <psrfactory@psr-inc.com>
|
6
6
|
License-Expression: MIT
|
@@ -56,7 +56,7 @@ Requires-Dist: boto3; extra == "all"
|
|
56
56
|
Requires-Dist: botocore; extra == "all"
|
57
57
|
Dynamic: license-file
|
58
58
|
|
59
|
-
PSR Factory (version 4.0.
|
59
|
+
PSR Factory (version 4.0.38)
|
60
60
|
============================
|
61
61
|
|
62
62
|
Factory is a library that helps to manage SDDP cases.
|
@@ -72,7 +72,7 @@ Installation
|
|
72
72
|
Open the command prompt and run the following command:
|
73
73
|
|
74
74
|
```bash
|
75
|
-
pip install psr_factory-4.0.
|
75
|
+
pip install psr_factory-4.0.38-py3-none-win_amd64.whl
|
76
76
|
```
|
77
77
|
|
78
78
|
Factory will be available to all Python scripts in your system after importing it:
|
@@ -16,13 +16,13 @@ psr/execqueue/config.py,sha256=3KVwASOgRlymOSPeabotgBdLVB5sPKnPQ9og2q3LQfw,1418
|
|
16
16
|
psr/execqueue/db.py,sha256=0pH5ksXChz6PR_GQs6OPokK3zVkY1-OZRAqYbVIEh9k,8281
|
17
17
|
psr/execqueue/server.py,sha256=IwqVq0hTMAqAyvCF7FXQsf8i82NyWq2BjnZFDOjwg9s,13936
|
18
18
|
psr/execqueue/watcher.py,sha256=34TdU6quJIjWoOBlIbP1fA6fxaX5WmV1tAhvrIL30Uo,5213
|
19
|
-
psr/factory/__init__.py,sha256=
|
20
|
-
psr/factory/api.py,sha256=
|
21
|
-
psr/factory/factory.dll,sha256=
|
22
|
-
psr/factory/factory.pmd,sha256=
|
23
|
-
psr/factory/factory.pmk,sha256=
|
24
|
-
psr/factory/factorylib.py,sha256
|
25
|
-
psr/factory/libcurl-x64.dll,sha256=
|
19
|
+
psr/factory/__init__.py,sha256=x7QgqQMjCxzDk6KzDpRTfczgMTQQuiNDrsczAi1ynFM,219
|
20
|
+
psr/factory/api.py,sha256=OsjFnXgl6ltYtcpDIhvjauGFprVrIaHWPcMgCGJ1C1E,101464
|
21
|
+
psr/factory/factory.dll,sha256=v-etVKFq-0V4IxN_eE1-0_J_wZZjy8DXwSP-eS-2Y7M,18276688
|
22
|
+
psr/factory/factory.pmd,sha256=NEOeQifMlZfrfQqSgDdvH8yKqdIYhj7biZHeceROr8M,250454
|
23
|
+
psr/factory/factory.pmk,sha256=THhHxBKTBchru3fxTCos-pBAPJJnuug8T2dw0xniDfQ,580185
|
24
|
+
psr/factory/factorylib.py,sha256=rwqu9lucfBhiFECDd5UVuy1K9jIJ54mUfxNPh4JhY4I,28182
|
25
|
+
psr/factory/libcurl-x64.dll,sha256=3jBgZlBIITj6jzCW39wpf_2UE15DPORnnhLssEqtn5A,5317968
|
26
26
|
psr/factory/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
27
27
|
psr/factory/samples/__init__.py,sha256=xxOch5Fokzjy571a6OHD87FWM17qKgvfcbr8xn-n36I,80
|
28
28
|
psr/factory/samples/sddp_case01.py,sha256=eLhtOAS2STl9-H7Nr5VUG4ATO0bVcn-CJtCn3Rf-vpI,5044
|
@@ -33,8 +33,8 @@ psr/psrfcommon/tempfile.py,sha256=5S13wa2DCLYTUdwbLm_KMBRnDRJ0WDlu8GO2BmZoNdg,39
|
|
33
33
|
psr/runner/__init__.py,sha256=kI9HDX-B_LMQJUHHylFHas2rNpWfNNa0pZXoIvX_Alw,230
|
34
34
|
psr/runner/runner.py,sha256=L_YOCArpkr_O-UJH6aT3K46NlEYT_o7LA1Ldk81BULQ,27326
|
35
35
|
psr/runner/version.py,sha256=mch2Y8anSXGMn9w72Z78PhSRhOyn55EwaoLAYhY4McE,194
|
36
|
-
psr_factory-5.0.
|
37
|
-
psr_factory-5.0.
|
38
|
-
psr_factory-5.0.
|
39
|
-
psr_factory-5.0.
|
40
|
-
psr_factory-5.0.
|
36
|
+
psr_factory-5.0.0b17.dist-info/licenses/LICENSE.txt,sha256=N6mqZK2Ft3iXGHj-by_MHC_dJo9qwn0URjakEPys3H4,1089
|
37
|
+
psr_factory-5.0.0b17.dist-info/METADATA,sha256=rzpiO3UKY-mVsanTn2hpRiD685M-M0Gm5EZUrFXdPl8,3957
|
38
|
+
psr_factory-5.0.0b17.dist-info/WHEEL,sha256=ZjXRCNaQ9YSypEK2TE0LRB0sy2OVXSszb4Sx1XjM99k,97
|
39
|
+
psr_factory-5.0.0b17.dist-info/top_level.txt,sha256=Jb393O96WQk3b5D1gMcrZBLKJJgZpzNjTPoldUi00ck,4
|
40
|
+
psr_factory-5.0.0b17.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|