inewave 1.5.3__py3-none-any.whl → 1.5.4__py3-none-any.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.
- inewave/__init__.py +1 -1
- inewave/newave/modelos/modif.py +78 -59
- {inewave-1.5.3.dist-info → inewave-1.5.4.dist-info}/METADATA +1 -1
- {inewave-1.5.3.dist-info → inewave-1.5.4.dist-info}/RECORD +8 -8
- tests/newave/test_modif.py +9 -9
- {inewave-1.5.3.dist-info → inewave-1.5.4.dist-info}/LICENSE.md +0 -0
- {inewave-1.5.3.dist-info → inewave-1.5.4.dist-info}/WHEEL +0 -0
- {inewave-1.5.3.dist-info → inewave-1.5.4.dist-info}/top_level.txt +0 -0
inewave/__init__.py
CHANGED
inewave/newave/modelos/modif.py
CHANGED
|
@@ -4,7 +4,6 @@ from cfinterface.components.field import Field
|
|
|
4
4
|
from cfinterface.components.integerfield import IntegerField
|
|
5
5
|
from cfinterface.components.literalfield import LiteralField
|
|
6
6
|
from cfinterface.components.floatfield import FloatField
|
|
7
|
-
from cfinterface.components.datetimefield import DatetimeField
|
|
8
7
|
from cfinterface.adapters.components.repository import factory
|
|
9
8
|
from copy import deepcopy
|
|
10
9
|
from datetime import datetime
|
|
@@ -182,7 +181,7 @@ class VOLMAX(ModifRegister):
|
|
|
182
181
|
self.data[1] = t
|
|
183
182
|
|
|
184
183
|
|
|
185
|
-
class NUMCNJ(
|
|
184
|
+
class NUMCNJ(ModifRegister):
|
|
186
185
|
"""
|
|
187
186
|
Registro que contém uma modificação de número de conjunto
|
|
188
187
|
de máquinas.
|
|
@@ -190,7 +189,7 @@ class NUMCNJ(Register):
|
|
|
190
189
|
|
|
191
190
|
IDENTIFIER = " NUMCNJ"
|
|
192
191
|
IDENTIFIER_DIGITS = 8
|
|
193
|
-
LINE = Line([IntegerField(
|
|
192
|
+
LINE = Line([IntegerField(2, 11)])
|
|
194
193
|
|
|
195
194
|
@property
|
|
196
195
|
def numero(self) -> int:
|
|
@@ -207,7 +206,7 @@ class NUMCNJ(Register):
|
|
|
207
206
|
self.data[0] = t
|
|
208
207
|
|
|
209
208
|
|
|
210
|
-
class NUMMAQ(
|
|
209
|
+
class NUMMAQ(ModifRegister):
|
|
211
210
|
"""
|
|
212
211
|
Registro que contém uma modificação do número de máquinas em um
|
|
213
212
|
conjunto de máquinas.
|
|
@@ -215,7 +214,7 @@ class NUMMAQ(Register):
|
|
|
215
214
|
|
|
216
215
|
IDENTIFIER = " NUMMAQ"
|
|
217
216
|
IDENTIFIER_DIGITS = 8
|
|
218
|
-
LINE = Line([IntegerField(3,
|
|
217
|
+
LINE = Line([IntegerField(3, 11), IntegerField(3, 14)])
|
|
219
218
|
|
|
220
219
|
@property
|
|
221
220
|
def conjunto(self) -> Optional[int]:
|
|
@@ -246,7 +245,7 @@ class NUMMAQ(Register):
|
|
|
246
245
|
self.data[1] = t
|
|
247
246
|
|
|
248
247
|
|
|
249
|
-
class VAZMIN(
|
|
248
|
+
class VAZMIN(ModifRegister):
|
|
250
249
|
"""
|
|
251
250
|
Registro que contém uma modificação de vazão mínima (m3/s).
|
|
252
251
|
"""
|
|
@@ -270,14 +269,16 @@ class VAZMIN(Register):
|
|
|
270
269
|
self.data[0] = t
|
|
271
270
|
|
|
272
271
|
|
|
273
|
-
class CFUGA(
|
|
272
|
+
class CFUGA(ModifRegister):
|
|
274
273
|
"""
|
|
275
274
|
Registro que contém uma modificação do nível do canal de fuga.
|
|
276
275
|
"""
|
|
277
276
|
|
|
278
277
|
IDENTIFIER = " CFUGA"
|
|
279
278
|
IDENTIFIER_DIGITS = 8
|
|
280
|
-
LINE = Line(
|
|
279
|
+
LINE = Line(
|
|
280
|
+
[IntegerField(2, 10), IntegerField(4, 13), FloatField(7, 18, 3)]
|
|
281
|
+
)
|
|
281
282
|
|
|
282
283
|
@property
|
|
283
284
|
def data_inicio(self) -> datetime:
|
|
@@ -287,11 +288,12 @@ class CFUGA(Register):
|
|
|
287
288
|
:return: A data de início da modificação
|
|
288
289
|
:rtype: Optional[datetime]
|
|
289
290
|
"""
|
|
290
|
-
return self.data[0]
|
|
291
|
+
return datetime(self.data[1], self.data[0], 1)
|
|
291
292
|
|
|
292
293
|
@data_inicio.setter
|
|
293
294
|
def data_inicio(self, t: datetime):
|
|
294
|
-
self.data[0] = t
|
|
295
|
+
self.data[0] = t.month
|
|
296
|
+
self.data[1] = t.year
|
|
295
297
|
|
|
296
298
|
@property
|
|
297
299
|
def nivel(self) -> float:
|
|
@@ -301,21 +303,23 @@ class CFUGA(Register):
|
|
|
301
303
|
:return: O novo nível
|
|
302
304
|
:rtype: Optional[int]
|
|
303
305
|
"""
|
|
304
|
-
return self.data[
|
|
306
|
+
return self.data[2]
|
|
305
307
|
|
|
306
308
|
@nivel.setter
|
|
307
309
|
def nivel(self, t: float):
|
|
308
|
-
self.data[
|
|
310
|
+
self.data[2] = t
|
|
309
311
|
|
|
310
312
|
|
|
311
|
-
class CMONT(
|
|
313
|
+
class CMONT(ModifRegister):
|
|
312
314
|
"""
|
|
313
315
|
Registro que contém uma modificação do nível do canal de montante.
|
|
314
316
|
"""
|
|
315
317
|
|
|
316
318
|
IDENTIFIER = " CMONT"
|
|
317
319
|
IDENTIFIER_DIGITS = 8
|
|
318
|
-
LINE = Line(
|
|
320
|
+
LINE = Line(
|
|
321
|
+
[IntegerField(2, 10), IntegerField(4, 13), FloatField(7, 18, 3)]
|
|
322
|
+
)
|
|
319
323
|
|
|
320
324
|
@property
|
|
321
325
|
def data_inicio(self) -> datetime:
|
|
@@ -325,11 +329,12 @@ class CMONT(Register):
|
|
|
325
329
|
:return: A data de início da modificação
|
|
326
330
|
:rtype: Optional[datetime]
|
|
327
331
|
"""
|
|
328
|
-
return self.data[0]
|
|
332
|
+
return datetime(self.data[1], self.data[0], 1)
|
|
329
333
|
|
|
330
334
|
@data_inicio.setter
|
|
331
335
|
def data_inicio(self, t: datetime):
|
|
332
|
-
self.data[0] = t
|
|
336
|
+
self.data[0] = t.month
|
|
337
|
+
self.data[1] = t.year
|
|
333
338
|
|
|
334
339
|
@property
|
|
335
340
|
def nivel(self) -> Optional[float]:
|
|
@@ -339,11 +344,11 @@ class CMONT(Register):
|
|
|
339
344
|
:return: O novo nível
|
|
340
345
|
:rtype: Optional[float]
|
|
341
346
|
"""
|
|
342
|
-
return self.data[
|
|
347
|
+
return self.data[2]
|
|
343
348
|
|
|
344
349
|
@nivel.setter
|
|
345
350
|
def nivel(self, t: float):
|
|
346
|
-
self.data[
|
|
351
|
+
self.data[2] = t
|
|
347
352
|
|
|
348
353
|
|
|
349
354
|
class VMAXT(Register):
|
|
@@ -356,7 +361,8 @@ class VMAXT(Register):
|
|
|
356
361
|
IDENTIFIER_DIGITS = 8
|
|
357
362
|
LINE = Line(
|
|
358
363
|
[
|
|
359
|
-
|
|
364
|
+
IntegerField(2, 10),
|
|
365
|
+
IntegerField(4, 13),
|
|
360
366
|
FloatField(7, 18, 3),
|
|
361
367
|
LiteralField(3, 26),
|
|
362
368
|
]
|
|
@@ -370,11 +376,12 @@ class VMAXT(Register):
|
|
|
370
376
|
:return: A data de início da modificação
|
|
371
377
|
:rtype: Optional[datetime]
|
|
372
378
|
"""
|
|
373
|
-
return self.data[0]
|
|
379
|
+
return datetime(self.data[1], self.data[0], 1)
|
|
374
380
|
|
|
375
381
|
@data_inicio.setter
|
|
376
382
|
def data_inicio(self, t: datetime):
|
|
377
|
-
self.data[0] = t
|
|
383
|
+
self.data[0] = t.month
|
|
384
|
+
self.data[1] = t.year
|
|
378
385
|
|
|
379
386
|
@property
|
|
380
387
|
def volume(self) -> Optional[float]:
|
|
@@ -384,11 +391,11 @@ class VMAXT(Register):
|
|
|
384
391
|
:return: O novo volume
|
|
385
392
|
:rtype: Optional[float]
|
|
386
393
|
"""
|
|
387
|
-
return self.data[
|
|
394
|
+
return self.data[2]
|
|
388
395
|
|
|
389
396
|
@volume.setter
|
|
390
397
|
def volume(self, t: float):
|
|
391
|
-
self.data[
|
|
398
|
+
self.data[2] = t
|
|
392
399
|
|
|
393
400
|
@property
|
|
394
401
|
def unidade(self) -> Optional[str]:
|
|
@@ -398,11 +405,11 @@ class VMAXT(Register):
|
|
|
398
405
|
:return: A unidade
|
|
399
406
|
:rtype: Optional[str]
|
|
400
407
|
"""
|
|
401
|
-
return self.data[
|
|
408
|
+
return self.data[3]
|
|
402
409
|
|
|
403
410
|
@unidade.setter
|
|
404
411
|
def unidade(self, t: str):
|
|
405
|
-
self.data[
|
|
412
|
+
self.data[3] = t
|
|
406
413
|
|
|
407
414
|
|
|
408
415
|
class VMINT(Register):
|
|
@@ -415,7 +422,8 @@ class VMINT(Register):
|
|
|
415
422
|
IDENTIFIER_DIGITS = 8
|
|
416
423
|
LINE = Line(
|
|
417
424
|
[
|
|
418
|
-
|
|
425
|
+
IntegerField(2, 10),
|
|
426
|
+
IntegerField(4, 13),
|
|
419
427
|
FloatField(7, 18, 3),
|
|
420
428
|
LiteralField(3, 26),
|
|
421
429
|
]
|
|
@@ -429,11 +437,12 @@ class VMINT(Register):
|
|
|
429
437
|
:return: A data de início da modificação
|
|
430
438
|
:rtype: Optional[datetime]
|
|
431
439
|
"""
|
|
432
|
-
return self.data[0]
|
|
440
|
+
return datetime(self.data[1], self.data[0], 1)
|
|
433
441
|
|
|
434
442
|
@data_inicio.setter
|
|
435
443
|
def data_inicio(self, t: datetime):
|
|
436
|
-
self.data[0] = t
|
|
444
|
+
self.data[0] = t.month
|
|
445
|
+
self.data[1] = t.year
|
|
437
446
|
|
|
438
447
|
@property
|
|
439
448
|
def volume(self) -> Optional[float]:
|
|
@@ -443,11 +452,11 @@ class VMINT(Register):
|
|
|
443
452
|
:return: O novo volume
|
|
444
453
|
:rtype: Optional[float]
|
|
445
454
|
"""
|
|
446
|
-
return self.data[
|
|
455
|
+
return self.data[2]
|
|
447
456
|
|
|
448
457
|
@volume.setter
|
|
449
458
|
def volume(self, t: float):
|
|
450
|
-
self.data[
|
|
459
|
+
self.data[2] = t
|
|
451
460
|
|
|
452
461
|
@property
|
|
453
462
|
def unidade(self) -> Optional[str]:
|
|
@@ -457,11 +466,11 @@ class VMINT(Register):
|
|
|
457
466
|
:return: A unidade
|
|
458
467
|
:rtype: Optional[str]
|
|
459
468
|
"""
|
|
460
|
-
return self.data[
|
|
469
|
+
return self.data[3]
|
|
461
470
|
|
|
462
471
|
@unidade.setter
|
|
463
472
|
def unidade(self, t: str):
|
|
464
|
-
self.data[
|
|
473
|
+
self.data[3] = t
|
|
465
474
|
|
|
466
475
|
|
|
467
476
|
class VMINP(Register):
|
|
@@ -474,7 +483,8 @@ class VMINP(Register):
|
|
|
474
483
|
IDENTIFIER_DIGITS = 8
|
|
475
484
|
LINE = Line(
|
|
476
485
|
[
|
|
477
|
-
|
|
486
|
+
IntegerField(2, 10),
|
|
487
|
+
IntegerField(4, 13),
|
|
478
488
|
FloatField(7, 18, 3),
|
|
479
489
|
LiteralField(3, 26),
|
|
480
490
|
]
|
|
@@ -488,11 +498,12 @@ class VMINP(Register):
|
|
|
488
498
|
:return: A data de início da modificação
|
|
489
499
|
:rtype: Optional[datetime]
|
|
490
500
|
"""
|
|
491
|
-
return self.data[0]
|
|
501
|
+
return datetime(self.data[1], self.data[0], 1)
|
|
492
502
|
|
|
493
503
|
@data_inicio.setter
|
|
494
504
|
def data_inicio(self, t: datetime):
|
|
495
|
-
self.data[0] = t
|
|
505
|
+
self.data[0] = t.month
|
|
506
|
+
self.data[1] = t.year
|
|
496
507
|
|
|
497
508
|
@property
|
|
498
509
|
def volume(self) -> Optional[float]:
|
|
@@ -502,11 +513,11 @@ class VMINP(Register):
|
|
|
502
513
|
:return: O novo volume
|
|
503
514
|
:rtype: Optional[float]
|
|
504
515
|
"""
|
|
505
|
-
return self.data[
|
|
516
|
+
return self.data[2]
|
|
506
517
|
|
|
507
518
|
@volume.setter
|
|
508
519
|
def volume(self, t: float):
|
|
509
|
-
self.data[
|
|
520
|
+
self.data[2] = t
|
|
510
521
|
|
|
511
522
|
@property
|
|
512
523
|
def unidade(self) -> Optional[str]:
|
|
@@ -516,11 +527,11 @@ class VMINP(Register):
|
|
|
516
527
|
:return: A unidade
|
|
517
528
|
:rtype: Optional[str]
|
|
518
529
|
"""
|
|
519
|
-
return self.data[
|
|
530
|
+
return self.data[3]
|
|
520
531
|
|
|
521
532
|
@unidade.setter
|
|
522
533
|
def unidade(self, t: str):
|
|
523
|
-
self.data[
|
|
534
|
+
self.data[3] = t
|
|
524
535
|
|
|
525
536
|
|
|
526
537
|
class VAZMINT(Register):
|
|
@@ -533,7 +544,8 @@ class VAZMINT(Register):
|
|
|
533
544
|
IDENTIFIER_DIGITS = 8
|
|
534
545
|
LINE = Line(
|
|
535
546
|
[
|
|
536
|
-
|
|
547
|
+
IntegerField(2, 10),
|
|
548
|
+
IntegerField(4, 13),
|
|
537
549
|
FloatField(7, 18, 2),
|
|
538
550
|
]
|
|
539
551
|
)
|
|
@@ -546,11 +558,12 @@ class VAZMINT(Register):
|
|
|
546
558
|
:return: A data de início da modificação
|
|
547
559
|
:rtype: Optional[datetime]
|
|
548
560
|
"""
|
|
549
|
-
return self.data[0]
|
|
561
|
+
return datetime(self.data[1], self.data[0], 1)
|
|
550
562
|
|
|
551
563
|
@data_inicio.setter
|
|
552
564
|
def data_inicio(self, t: datetime):
|
|
553
|
-
self.data[0] = t
|
|
565
|
+
self.data[0] = t.month
|
|
566
|
+
self.data[1] = t.year
|
|
554
567
|
|
|
555
568
|
@property
|
|
556
569
|
def vazao(self) -> Optional[float]:
|
|
@@ -560,11 +573,11 @@ class VAZMINT(Register):
|
|
|
560
573
|
:return: A nova vazão
|
|
561
574
|
:rtype: Optional[float]
|
|
562
575
|
"""
|
|
563
|
-
return self.data[
|
|
576
|
+
return self.data[2]
|
|
564
577
|
|
|
565
578
|
@vazao.setter
|
|
566
579
|
def vazao(self, t: float):
|
|
567
|
-
self.data[
|
|
580
|
+
self.data[2] = t
|
|
568
581
|
|
|
569
582
|
|
|
570
583
|
class VAZMAXT(Register):
|
|
@@ -577,7 +590,8 @@ class VAZMAXT(Register):
|
|
|
577
590
|
IDENTIFIER_DIGITS = 8
|
|
578
591
|
LINE = Line(
|
|
579
592
|
[
|
|
580
|
-
|
|
593
|
+
IntegerField(2, 10),
|
|
594
|
+
IntegerField(4, 13),
|
|
581
595
|
FloatField(7, 18, 2),
|
|
582
596
|
]
|
|
583
597
|
)
|
|
@@ -590,11 +604,12 @@ class VAZMAXT(Register):
|
|
|
590
604
|
:return: A data de início da modificação
|
|
591
605
|
:rtype: Optional[datetime]
|
|
592
606
|
"""
|
|
593
|
-
return self.data[0]
|
|
607
|
+
return datetime(self.data[1], self.data[0], 1)
|
|
594
608
|
|
|
595
609
|
@data_inicio.setter
|
|
596
610
|
def data_inicio(self, t: datetime):
|
|
597
|
-
self.data[0] = t
|
|
611
|
+
self.data[0] = t.month
|
|
612
|
+
self.data[1] = t.year
|
|
598
613
|
|
|
599
614
|
@property
|
|
600
615
|
def vazao(self) -> Optional[float]:
|
|
@@ -604,11 +619,11 @@ class VAZMAXT(Register):
|
|
|
604
619
|
:return: A nova vazão
|
|
605
620
|
:rtype: Optional[float]
|
|
606
621
|
"""
|
|
607
|
-
return self.data[
|
|
622
|
+
return self.data[2]
|
|
608
623
|
|
|
609
624
|
@vazao.setter
|
|
610
625
|
def vazao(self, t: float):
|
|
611
|
-
self.data[
|
|
626
|
+
self.data[2] = t
|
|
612
627
|
|
|
613
628
|
|
|
614
629
|
class TURBMAXT(Register):
|
|
@@ -621,7 +636,8 @@ class TURBMAXT(Register):
|
|
|
621
636
|
IDENTIFIER_DIGITS = 9
|
|
622
637
|
LINE = Line(
|
|
623
638
|
[
|
|
624
|
-
|
|
639
|
+
IntegerField(2, 10),
|
|
640
|
+
IntegerField(4, 13),
|
|
625
641
|
FloatField(7, 18, 2),
|
|
626
642
|
]
|
|
627
643
|
)
|
|
@@ -634,11 +650,12 @@ class TURBMAXT(Register):
|
|
|
634
650
|
:return: A data de início da modificação
|
|
635
651
|
:rtype: Optional[datetime]
|
|
636
652
|
"""
|
|
637
|
-
return self.data[0]
|
|
653
|
+
return datetime(self.data[1], self.data[0], 1)
|
|
638
654
|
|
|
639
655
|
@data_inicio.setter
|
|
640
656
|
def data_inicio(self, t: datetime):
|
|
641
|
-
self.data[0] = t
|
|
657
|
+
self.data[0] = t.month
|
|
658
|
+
self.data[1] = t.year
|
|
642
659
|
|
|
643
660
|
@property
|
|
644
661
|
def turbinamento(self) -> Optional[float]:
|
|
@@ -648,11 +665,11 @@ class TURBMAXT(Register):
|
|
|
648
665
|
:return: O novo turbinamento
|
|
649
666
|
:rtype: Optional[float]
|
|
650
667
|
"""
|
|
651
|
-
return self.data[
|
|
668
|
+
return self.data[2]
|
|
652
669
|
|
|
653
670
|
@turbinamento.setter
|
|
654
671
|
def turbinamento(self, t: float):
|
|
655
|
-
self.data[
|
|
672
|
+
self.data[2] = t
|
|
656
673
|
|
|
657
674
|
|
|
658
675
|
class TURBMINT(Register):
|
|
@@ -665,7 +682,8 @@ class TURBMINT(Register):
|
|
|
665
682
|
IDENTIFIER_DIGITS = 9
|
|
666
683
|
LINE = Line(
|
|
667
684
|
[
|
|
668
|
-
|
|
685
|
+
IntegerField(2, 10),
|
|
686
|
+
IntegerField(4, 13),
|
|
669
687
|
FloatField(7, 18, 2),
|
|
670
688
|
]
|
|
671
689
|
)
|
|
@@ -678,11 +696,12 @@ class TURBMINT(Register):
|
|
|
678
696
|
:return: A data de início da modificação
|
|
679
697
|
:rtype: Optional[datetime]
|
|
680
698
|
"""
|
|
681
|
-
return self.data[0]
|
|
699
|
+
return datetime(self.data[1], self.data[0], 1)
|
|
682
700
|
|
|
683
701
|
@data_inicio.setter
|
|
684
702
|
def data_inicio(self, t: datetime):
|
|
685
|
-
self.data[0] = t
|
|
703
|
+
self.data[0] = t.month
|
|
704
|
+
self.data[1] = t.year
|
|
686
705
|
|
|
687
706
|
@property
|
|
688
707
|
def turbinamento(self) -> Optional[float]:
|
|
@@ -692,8 +711,8 @@ class TURBMINT(Register):
|
|
|
692
711
|
:return: O novo turbinamento
|
|
693
712
|
:rtype: Optional[float]
|
|
694
713
|
"""
|
|
695
|
-
return self.data[
|
|
714
|
+
return self.data[2]
|
|
696
715
|
|
|
697
716
|
@turbinamento.setter
|
|
698
717
|
def turbinamento(self, t: float):
|
|
699
|
-
self.data[
|
|
718
|
+
self.data[2] = t
|
|
@@ -3,7 +3,7 @@ examples/plot_dger.py,sha256=e8Qi-DEBmxgGBgfJfABqx39rThuRXQlMHTOfobT601U,1563
|
|
|
3
3
|
examples/plot_modif.py,sha256=hqB3WRRYP4CBEvnnhrBwlbIrFWzkiHqgaXe76b3olzo,2735
|
|
4
4
|
examples/plot_pmo.py,sha256=-NgaJnsr8N6-8DWWfSH8n8G8Ad9E0StFJBt21xwZxME,1473
|
|
5
5
|
examples/plot_sistema.py,sha256=mM287WEkPV_5NCz-nB9kH9So9KOAbjBfBeB0PTVfHCA,2422
|
|
6
|
-
inewave/__init__.py,sha256=
|
|
6
|
+
inewave/__init__.py,sha256=B54mRO8_-sByHXiUevblw2KgadGzWmVYGsogkcGgZOs,235
|
|
7
7
|
inewave/config.py,sha256=fMgG2sqE_PNz30QCNxkgfPf78SEOAVfV07kGtO1bREE,1106
|
|
8
8
|
inewave/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
inewave/_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -125,7 +125,7 @@ inewave/newave/modelos/gtminpat.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
|
|
|
125
125
|
inewave/newave/modelos/hidr.py,sha256=-HMrsPjy6XhLQAU3sV8Tj5GrqHzGX0NZZ5Auc-pqUQE,15742
|
|
126
126
|
inewave/newave/modelos/itaipu.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
127
127
|
inewave/newave/modelos/manutt.py,sha256=kOX1XGcIkOW0WCPg7bq7fSDbAACBZ7h5LbzTydgPdoM,3732
|
|
128
|
-
inewave/newave/modelos/modif.py,sha256=
|
|
128
|
+
inewave/newave/modelos/modif.py,sha256=yiM8FgR1V1m5eF-432KOto9kDPVLoyg5HD5SgyarIk4,16644
|
|
129
129
|
inewave/newave/modelos/newavetim.py,sha256=XxIwI47Tg39geiDworvs1Bqc7x_oUrrbwUEqXu3ShwM,2060
|
|
130
130
|
inewave/newave/modelos/nwv_avl_evap.py,sha256=0hsOjpxND9z2KpvaxZEfGF5AS_IJ3K_ROdwKg18zPgo,1208
|
|
131
131
|
inewave/newave/modelos/nwv_cortes_evap.py,sha256=YaWA3kz309p5JYOmowQzRF2Z8eKY14QvvQQxEaKHcY4,1272
|
|
@@ -651,7 +651,7 @@ tests/newave/test_forwarh.py,sha256=Mfb0YR7plQVkYipjYD-Fi2flnOc-d7Q4D7aqXDthvao,
|
|
|
651
651
|
tests/newave/test_ghmin.py,sha256=hy5muLAbW7SgB3ZV6uj0w4jkzc5FUlYvCX2gPYiQhC8,2360
|
|
652
652
|
tests/newave/test_hidr.py,sha256=P_DdI7B4SrNRDpjnVxugX7ipwV8DYCX7jDgC2waPDLk,1628
|
|
653
653
|
tests/newave/test_manutt.py,sha256=vZ-YKzLatzKSd09HXb6DUPge5pOjZIYssBrwofsDYYA,2249
|
|
654
|
-
tests/newave/test_modif.py,sha256=
|
|
654
|
+
tests/newave/test_modif.py,sha256=J67q4p7FqycuB6fFJuS3MKmoKmxcLHqFUmeprYbYw0A,6897
|
|
655
655
|
tests/newave/test_newavetim.py,sha256=_qZbSRyTKoHYeTp7i3V3kprcjMtc9-yKbBxXHyNMuoc,1731
|
|
656
656
|
tests/newave/test_nwv_avl_evap.py,sha256=MuSXR65rZFSOkuSUF3XrErnDJgUboEjGMXWHPOVKiTk,1532
|
|
657
657
|
tests/newave/test_nwv_cortes_evap.py,sha256=D2hkXzdE__s4zmlN1G6OIWIA-AvRqOwtI4Vp0FKZ2-8,1660
|
|
@@ -804,8 +804,8 @@ tests/nwlistop/test_vmort.py,sha256=KUqgO1HznEzu7TX5xu8wLhSl_sKSJteNfMd9zVcruls,
|
|
|
804
804
|
tests/nwlistop/test_vmortm.py,sha256=re8ypER8xgRbgRdgBd1H97G1ebNxtYZn23_nBGyWwhU,1204
|
|
805
805
|
tests/nwlistop/test_vmortsin.py,sha256=LvdpNPPZtnQWIxrLMUx_KIg6k22pOif6SzmRasAjquc,1113
|
|
806
806
|
tests/nwlistop/test_vturuh.py,sha256=wvQ9zq9nuHdt0CPNt3SkPKMGq5WHQs7nZUnRaY33ONQ,1190
|
|
807
|
-
inewave-1.5.
|
|
808
|
-
inewave-1.5.
|
|
809
|
-
inewave-1.5.
|
|
810
|
-
inewave-1.5.
|
|
811
|
-
inewave-1.5.
|
|
807
|
+
inewave-1.5.4.dist-info/LICENSE.md,sha256=0jOBL78mjzscN0-XI-6YtK1IqnODUbG85DaKAMH4XJ8,1070
|
|
808
|
+
inewave-1.5.4.dist-info/METADATA,sha256=i8A1Klu4orf2xELIVc9Jx8EgY2AVOMhA3Q4uCzgBzgw,1958
|
|
809
|
+
inewave-1.5.4.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
810
|
+
inewave-1.5.4.dist-info/top_level.txt,sha256=o3hXlvlgJI4qWYy-wVzUYago7roEBl3kP5IL3QR9L70,23
|
|
811
|
+
inewave-1.5.4.dist-info/RECORD,,
|
tests/newave/test_modif.py
CHANGED
|
@@ -75,7 +75,7 @@ def test_registro_vmaxt_modif():
|
|
|
75
75
|
with open("", "") as fp:
|
|
76
76
|
r.read(fp)
|
|
77
77
|
|
|
78
|
-
assert r.data == [
|
|
78
|
+
assert r.data == [12, 2021, 61.310, "'%'"]
|
|
79
79
|
assert r.data_inicio == datetime(2021, 12, 1)
|
|
80
80
|
assert r.volume == 61.310
|
|
81
81
|
assert r.unidade == "'%'"
|
|
@@ -88,7 +88,7 @@ def test_registro_vazmint_modif():
|
|
|
88
88
|
with open("", "") as fp:
|
|
89
89
|
r.read(fp)
|
|
90
90
|
|
|
91
|
-
assert r.data == [
|
|
91
|
+
assert r.data == [10, 2021, 10.00]
|
|
92
92
|
assert r.data_inicio == datetime(2021, 10, 1)
|
|
93
93
|
assert r.vazao == 10.00
|
|
94
94
|
|
|
@@ -146,7 +146,7 @@ def test_registro_vmint_modif():
|
|
|
146
146
|
with open("", "") as fp:
|
|
147
147
|
r.read(fp)
|
|
148
148
|
|
|
149
|
-
assert r.data == [
|
|
149
|
+
assert r.data == [10, 2021, 20.0, "'%'"]
|
|
150
150
|
assert r.data_inicio == datetime(2021, 10, 1)
|
|
151
151
|
assert r.volume == 20.0
|
|
152
152
|
assert r.unidade == "'%'"
|
|
@@ -159,7 +159,7 @@ def test_registro_vminp_modif():
|
|
|
159
159
|
with open("", "") as fp:
|
|
160
160
|
r.read(fp)
|
|
161
161
|
|
|
162
|
-
assert r.data == [
|
|
162
|
+
assert r.data == [10, 2021, 20.0, "'%'"]
|
|
163
163
|
assert r.data_inicio == datetime(2021, 10, 1)
|
|
164
164
|
assert r.volume == 20.0
|
|
165
165
|
assert r.unidade == "'%'"
|
|
@@ -172,7 +172,7 @@ def test_registro_cfuga_modif():
|
|
|
172
172
|
with open("", "") as fp:
|
|
173
173
|
r.read(fp)
|
|
174
174
|
|
|
175
|
-
assert r.data == [
|
|
175
|
+
assert r.data == [10, 2021, 5.60]
|
|
176
176
|
assert r.data_inicio == datetime(2021, 10, 1)
|
|
177
177
|
assert r.nivel == 5.60
|
|
178
178
|
|
|
@@ -184,7 +184,7 @@ def test_registro_cmont_modif():
|
|
|
184
184
|
with open("", "") as fp:
|
|
185
185
|
r.read(fp)
|
|
186
186
|
|
|
187
|
-
assert r.data == [
|
|
187
|
+
assert r.data == [10, 2021, 71.30]
|
|
188
188
|
assert r.data_inicio == datetime(2021, 10, 1)
|
|
189
189
|
assert r.nivel == 71.30
|
|
190
190
|
|
|
@@ -196,7 +196,7 @@ def test_registro_vazmaxt_modif():
|
|
|
196
196
|
with open("", "") as fp:
|
|
197
197
|
r.read(fp)
|
|
198
198
|
|
|
199
|
-
assert r.data == [
|
|
199
|
+
assert r.data == [1, 2020, 0.00]
|
|
200
200
|
assert r.data_inicio == datetime(2020, 1, 1)
|
|
201
201
|
assert r.vazao == 0.0
|
|
202
202
|
|
|
@@ -208,7 +208,7 @@ def test_registro_turbmaxt_modif():
|
|
|
208
208
|
with open("", "") as fp:
|
|
209
209
|
r.read(fp)
|
|
210
210
|
|
|
211
|
-
assert r.data == [
|
|
211
|
+
assert r.data == [1, 2020, 0.00]
|
|
212
212
|
assert r.data_inicio == datetime(2020, 1, 1)
|
|
213
213
|
assert r.turbinamento == 0.0
|
|
214
214
|
|
|
@@ -220,7 +220,7 @@ def test_registro_turbmint_modif():
|
|
|
220
220
|
with open("", "") as fp:
|
|
221
221
|
r.read(fp)
|
|
222
222
|
|
|
223
|
-
assert r.data == [
|
|
223
|
+
assert r.data == [1, 2020, 0.00]
|
|
224
224
|
assert r.data_inicio == datetime(2020, 1, 1)
|
|
225
225
|
assert r.turbinamento == 0.0
|
|
226
226
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|