First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
| 2025-08-19 07:09:37 -0500 | received badge | ● Editor (source) |
| 2025-08-18 10:18:30 -0500 | received badge | ● Teacher (source) |
| 2025-08-07 11:33:15 -0500 | commented answer | Fortran Conversion from v34 to v36 Hi Per-Olof, yes, I plan to address some of the comments I can here. |
| 2025-08-06 12:15:12 -0500 | commented answer | Fortran Conversion from v34 to v36 Storing them is a design choice, suggested it just to avoid repeated calculations. Users can use for example INTICN(M) through INTICN(M+3) to store the values of J0, K0, L0 and M0 and use the associated get/set APIs. INTICNs are indexed the same as ICON and can be used as integer scratch locations. |
| 2025-08-06 07:02:27 -0500 | answered a question | Fortran Conversion from v34 to v36 THE ADINTN must be changed to the MODE 5 and MODE 7 logic example as shown in uexs_VINDP.for (also the same in uexs_obsolete.for) in the example files, i.e., using Docuheading and SHOW_MODEL_INDICIES. You don't have to write the bus name (the model details of where it is connected will now be written out by call to docuheading as shown in uexs_VINDP.for) You can't write any longer to IPRT directly. You will have to write to DBUF01 (as shown in usexs_VINDP.for) and flush out contents of DBUF01 to the report windw using the call to REPORTS as shown in uexs_VINDP.for. Regarding using MODCNX and NUMCNX: You can use the API MDLIND to get the values of J0, K0, L0, M0 (4 calls to MDLIND) and then you can remove the use of MODCNX and NUMCNX. Note that it is adequate to compute the values of J0 etc in MODE 4 or MODE 1 (at initialization), store these values and use it repeatedly during simulation (in MODE 2). By doing this you would have avoided repeated calls to MDLIND. To use UEL2 as a macro call, please change that to UEL2CDUM which can be found in the latest version (36.3.1 as of this comment). |
whit loves you. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.