I had asked this question and thought that I had it solved but I could not get the text defined as variables. Below is the text file. I would like to specify a line and the length and set that to a variable. In the Example below the items in Red, I would like them to be an Interger. The first one -571.5 possibly set to ATC1, EX. INT(ATC1) = line(21) [0:9]. The one that is Black and bold would be a string STR(LE1) = line(21) [29:79]. The one in red is also a string line (22) [90:137]. I tried to get the code as close as I know. The location of these numbers should not change but their values will change. The Items should not go past their corresponding Labels. Ex. LE1 could be as long as <-----Limiting constraint------> in the same location just down 1 line.
All the items that are Bold Red would be integers, the ones in Bold Black and Bold Green would be strings. I am hoping to take these Items out and set them = to a variable.
I hope this is clear. Thanks for the help.
Joe
PSS(R)MUST 9.2 -- Managing and Utilizing System Transmission -- MON, SEP 28 2009 15:12
2008 FRCC LFDB - 90% LOAD
2009 SUMMER BASE
Case.File C:\HourlyATC\ATC090928\OPCASE21.sav
Subsys.File C:\HourlyATC\subsystem.sub
Monit.File C:\HourlyATC\monitor.mon
Contin.File C:\HourlyATC\contingency.con
Exclud.File C:\HourlyATC\exclude.exc
Study transfer level - 1000.0 MW. Total violations: 7
First violation - -571.5 MW.
Study transfer. From FMPP_EXA To FPL_IMA . Transfer level - 1000.0 MW
Violations report ordered by transfer capability. Total 7 violations
FCITC TDF LODF <--------- Limiting constraint ---------> <--------- Contingency description ---------> Ncon PreShift Rating PTDF IntBase FnlBase
-571.5 -0.03039 -0.19893 6106 I-STATE 230 6104 TENOROC 230 1 C:9100-9120D 446 -454.4 -437.0 -0.01716 -377.1 -367.3
Open 9100 RECKER 230 9120 SELOSE 230 1
Study transfer level - 1000.0 MW. Total violations: 17
First violation - -626.4 MW.
Study transfer. From FMPP_EXA To PEF_IMA . Transfer level - 1000.0 MW
Violations report ordered by transfer capability. Total 17 violations
FCITC TDF LODF <--------- Limiting constraint ---------> <--------- Contingency description ---------> Ncon PreShift Rating PTDF IntBase FnlBase
-626.4 -0.04873 0.30911 6106 I-STATE 230 6104 TENOROC 230 1 C: 7890 OSCEOLA 230 9190 AGNES-RX 230 1 414 -467.5 -437.0 -0.04950 -377.1 -346.1
Open 7890 OSCEOLA 230 9190 AGNES-RX 230 1
Study transfer level - 1000.0 MW. Total violations: 5
First violation - -443.2 MW.
Study transfer. From FMPP_EXA To TECO_IMA . Transfer level - 1000.0 MW
Violations report ordered by transfer capability. Total 5 violations
FCITC TDF LODF <--------- Limiting constraint ---------> <--------- Contingency description ---------> Ncon PreShift Rating PTDF IntBase FnlBase
-443.2 -0.03919 -0.19893 6106 I-STATE 230 6104 TENOROC 230 1 C:9100-9120D 446 -454.4 -437.0 -0.02746 -377.1 -365.0
Open 9100 RECKER 230 9120 SELOSE 230 1
Study transfer level - 1000.0 MW. Total violations: 6
First violation - 1145.8 MW.
Study transfer. From FPL_EXA To FMPP_IMA . Transfer level - 1000.0 MW
Violations report ordered by transfer capability. Total 6 violations
FCITC TDF LODF <--------- Limiting constraint ---------> <--------- Contingency description ---------> Ncon PreShift Rating PTDF IntBase FnlBase
1145.8 -0.11840 0.52227 8860 SO GIB-S 230 8900 B BEND 230 1 C:8500-8900 592 -613.3 -749.0 -0.09149 -368.8 -473.6
Open 8500 11TH AVE 230 8900 B BEND 230 1
Study transfer level - 1000.0 MW. Total violations: 6
First violation - 1481.3 MW.
Study transfer. From PEF_EXA To FMPP_IMA . Transfer level - 1000.0 MW
Violations report ordered by transfer capability. Total 6 violations
FCITC TDF LODF <--------- Limiting constraint ---------> <--------- Contingency description ---------> Ncon PreShift Rating PTDF IntBase FnlBase
1481.3 0.09024 0.51643 2167 WINDERME 230 5701 SO WOOD 230 1 C:5353-5800 581 233.3 367.0 0.08419 150.0 274.7
Open 5352 CAN ISL 230 5800 OUCCITP1 230 1
Study transfer level - 1000.0 MW. Total violations: 5
First violation - 1525.8 MW.
Study transfer. From TECO_EXA To FMPP_IMA . Transfer level - 1000.0 MW
Violations report ordered by transfer capability. Total 5 violations
FCITC TDF LODF <--------- Limiting constraint ---------> <--------- Contingency description ---------> Ncon PreShift Rating PTDF IntBase FnlBase
1525.8 -0.14795 0.44375 8000 SHELD 230 8370 JUNEAU 230 1 C:8700-8400 600 -571.3 -797.0 -0.12009 -405.1 -588.3
Open 8400 CHAPMAN 230 8700 GANNON 230 1
Study transfer level - 1000.0 MW. Total violations: 6
First violation - 1268.3 MW.
Study transfer. From IPP_REL_EXA To FMPP_IMA . Transfer level - 1000.0 MW
Violations report ordered by transfer capability. Total 6 violations
FCITC TDF LODF <--------- Limiting constraint ---------> <--------- Contingency description ---------> Ncon PreShift Rating PTDF IntBase FnlBase
1268.3 -0.38320 0.92478 461 CAPE K 230 5703 IND RIV 230 2 C: 461 CAPE K 230 5703 IND RIV 230 1 360 -311.0 -797.0 -0.19986 -162.2 -415.7
Open 461 CAPE K 230 5703 IND RIV 230 1
Study transfer level - 1000.0 MW. Total violations: 6
First violation - 681.1 MW.
Study transfer. From IPP_REL_EXA To FPL_IMA . Transfer level - 1000.0 MW
Violations report ordered by transfer capability. Total 6 violations
FCITC TDF LODF <--------- Limiting constraint ---------> <--------- Contingency description ---------> Ncon PreShift Rating PTDF IntBase FnlBase
681.1 0.16806 -0.23199 464 MALABAR 230 708 WYOMING 230 1 C: 275 MARTIN 500 476 POINSETT 500 1 149 516.7 631.2 0.09595 261.1 326.4
Open 275 MARTIN 500 476 POINSETT 500 1
Study transfer level - 1000.0 MW. Total violations: 5
First violation - -787.9 MW.
Study transfer. From IPP_REL_EXA To PEF_IMA . Transfer level - 1000.0 MW
Violations report ordered by transfer capability. Total 5 violations
FCITC TDF LODF <--------- Limiting constraint ---------> <--------- Contingency description ---------> Ncon PreShift Rating PTDF IntBase FnlBase
-787.9 -0.03316 - 6106 I-STATE 230 6104 TENOROC 230 1 Base Case -377.1 -351.0
Study transfer level - 1000.0 MW. Total violations: 3
First violation - 569.5 MW.
Study transfer. From IPP_REL_EXA To TECO_IMA . Transfer level - 1000.0 MW
Violations report ordered by transfer capability. Total 3 violations
FCITC TDF LODF <--------- Limiting constraint ---------> <--------- Contingency description ---------> Ncon PreShift Rating PTDF IntBase FnlBase
569.5 -0.03573 -0.31618 6106 I-STATE 230 6104 TENOROC 230 1 C: 6105 CREWSLK 230 9050 PEBB 230 1 412 -416.7 -437.0 -0.01112 -377.1 -383.5
Open 6105 CREWSLK 230 9050 PEBB 230 1