great
not working
Hi, I am an undergraduate student working on our final year project to design a smart grid that connects wind, diesel generator (DG), solar, and a battery bank to the main grid. I need to know how to co-simulate this system in MATLAB for real-time simulation. Please help me with this. If there are any examples available, kindly share them with me.
oh I see. That did it. Thank you, Frank!
oh I see. That did it. Thank you, Frank!
Hello MA, Apologies for the delay getting back to you. Regarding P_Out, that is a set point. From the GridLAB-D perspective, anything that you can use a player on, you can also use HELICS on (properly configured, of course). Since you mentioned testing the same code with a triplex_load worked, that should at least rule out the Python. Looking at your inverter, I suspect it might just be over-writing and/or ignoring that value because I don't think you have the inverter set up to do exactly what you're...
Hi GridLAB-D Team, GridLAB-D version: GridLAB-D 5.3.0-20236 (e1841e1e:master) 64-bit LINUX RELEASE HELICS version: 3.6.1 (2025-02-24) I’m currently integrating GridLAB-D with HELICS and working with inverter objects in CONSTANT_PQ mode. I wish to change P_Out and Q_Out in real time, which is why I am using HELICS. Anyways, I am trying to change the P_Out value during the simulation. I can see the values being read by Python and published by the python federate. However, the output file from the recorder...
Hello Jett, That is very strange. You are correct that it doesn't seem to be implemented anywhere. I'm trying to track down if that is a missed commit or something (amusing the the wiki entry is almost three years old and no one else has said anything). For now, you are correct that the inverter_dyn does not have a VSM mode enabled. I have notes out to some of the developers to see what happened here -- we clearly wrote up a specification and example, so I'm not sure where the code went. -Frank
Good day, Thank you so much for your help! It works and I was able to observe the frequency nadir after disconnecting the solar from the system. The final thing I wanted to do was to connect a battery that starts injecting power after the solar is disconnected. To do this I was planning on using the battery object and the inverter_dyn object by setting VSM_mode true as per the example found in the wiki. However, it seems like this hasn't been implemented yet? I got an error saying that frequency_droop_mode,...
Hello Jett, Apologies for the delay in responding. You're pretty close, but there's a couple minor items/nuances to include still. The first item is to either add flags DELTAMODE; to all of the powerflow objects, or just add to your module powerflow the all_powerflow_delta flag: module powerflow { enable_subsecond_models true; deltamode_timestep 10000000; //10 ms solver_method NR; all_powerflow_delta true; } You have most of them in it, but the transformer missing does appear to cause issues with...
Good day, Thank you so much for your response. I fixed the switch player and confirmed that it opens after 1 second of the simulation starting, and all the NAN values are now fixed. However, from my simulations, it seems that the grid frequency is a constant 60Hz at all the nodes before and after I disconnect the solar+inverter objects from the rest of the system. The recorders are recording at the subsecond level, so I think I was able to trigger deltamode correctly, plus, from my understanding,...
Hello Jett, It looks like your file might have a couple issues, so that's probably most of the problem. If you look at your bus_X_output_recorder.csv files, you notice they turn to NAN values pretty quick, which is not a good sign. If you put a recorder on the status of your switch, you'll see that it starts OPEN and never closes. You'll need to fix the timesteps (use one of the recorder outputs as a guideline). The inverter_dyn object appears to be overloaded since the active power setpoint is the...
Good day, I am currently trying to do a simulation based on the test_deltamode_diesel_dg.glm example. The main difference is I replaced the second diesel_g object with solar + inverter_dyn objects, referencing the code from test_inverter_dyn_PV_DC_model.glm for the solar+inverter_dyn objects. Additionally, I added a switch that will disconnect the inverter from the rest of the grid after a short delay. My expectation was that the measured_frequency at all the nodes/buses in the system would show...
I was able to run the server in realtime with the same command as given above with the attached model. The main difference would be running the HiPas Gridlab-d and to add a recorder so that the simulation has something to do as a server.
I was able to run the server in realtime with the same command as given above with the attached model. The main difference would be to add a recorder so that the simulation has something to do as a server.
It seems that #2 did the trick I am no longer having issues with the .glm file. I am having issues with pypower now but that is an issue that I would need to talk to with the helics people or figure that out on my own. Thank you very much.
I am new to Gridlab-d and am using 'GridLAB-D 5.2.0' in windows and wanted to run the simulation in realtime mode. I am not too perticular that the minimum_timestep for simulation be 1 sec (it can even 30 sec). I ran a minimum model .glm file. But am getting the following error: PS E:\gridlabd\test> gridlabd -D run_realtime=1 .\my_model.glm --server WARNING [INIT] : house_e: no climate data found, using static data WARNING [INIT] : house_e:0 has no parent triplex_meter defined; using static voltages...
Thanks I appreciate the help. I was considering reinstallling helics but I am happy to see that there is a possible solution without doing so. I will attempt #2 soon, if it doesnt work then I will attempt #1. If this still doesnt work then I will speak to the devs at helics as it seems that the issue at that point is in the helics installation. Thanks for the heads up about the export command.
Hello again Shekiell, Based on your installation.txt and looking at how the python libraries are set up on my side, I think I see the issue -- it's related to how cmake and the Python libraries are interacting (it basically hates the "lib64" instead of "lib" folder). So you have a couple options: 1. Download the HELICS source code and compile it directly (then link the cmake for GridLAB-D to wherever you install it) 2. Copy the Python HELICS lib64 folder to lib (linking it might work too, I didn't...
Unfortunately, after running the error persists. I attempted to purge the folders and run the attached code from the beginning and I am still having issues with it. I also moved the files helics.h and libheics.so to the folder specified by the path as they were not there but the issue persists. I am now starting to wonder if there is an issue with how I installed helics since it was through pip install and not through source.
I have attempted to change them as stated and continued to get the same error. I changed the path to directly where only the files in the error were found. HELICSConfig.cmake helics-config.cmake The new path bieng /home/vboxuser/DTC/venv/lib64/python3.12/site-packages/helics/install/lib64/cmake/HELICS This finally completed the build process I will test if the program will run appropriately and get back with hopefully good news.
Hello Shakiell, The "../install64" folder that is part of the -DCMAKE_INSTALL_PREFIX=../install64 command is just dictacting where the compiled GridLAB-D gets installed. The ".." just means "up one folder", so it would be in "gridlab-d/install64" folder (assuming you run this from "gridlab-d/cmake-build" or similar). If you leave the -DCMAKE_INSTALL_PREFIX item off, I believe it just will installed into the /usr/ path on the Linux machine, but I'm not 100% sure there. I run multiple instances/versions...
Ok that makes a bit more sense. Yes I found the exact directory where those four files are so I would simply replace /mnt/c/Code/HELICS_Focal_361/cmake_build/install64/ .. with the correct directory correct. In this case being /home/vboxuser/DTC/venv/lib64/python3.12/site-packages/helics/install do you also need to edit ../install64 and change it to ../install since my directory path ends in install rather then install64.
Hello Shakiell, You are correct that the "HELICS_FOCAL_361" is pointing to the HELICS installation - I should have been clear that was just an example from my computer. That folder is specifically looking for a four-folder structure with "bin", "include", "lib", and "share". It's mostly looking for the helics.h and similar files that are in the include/helics folder, as well as the libhelics.so file that is under the lib folder. Depending on how you installed HELICS, finding those libraries may be...
Thanks for the help so far. At the moment I am trying to get the line cmake -DCMAKE_INSTALL_PREFIX=../install64 -DCMAKE_BUILD_TYPE=Release -DGLD_USE_HELICS=ON -DGLD_HELICS_DIR=/mnt/c/Code/HELICS_Focal_361/cmake_build/install64/ .. To run. I get the error CMake Error at connection/CMakeLists.txt:29 (FIND_PACKAGE): Could not find a package configuration file provided by "HELICS" (requested version 3) with any of the following names: HELICSConfig.cmake helics-config.cmake My guess is that the cmake...
Thanks for the help so far. At the moment I am trying to get the line cmake -DCMAKE_INSTALL_PREFIX=../install64 -DCMAKE_BUILD_TYPE=Release -DGLD_USE_HELICS=ON -DGLD_HELICS_DIR=/mnt/c/Code/HELICS_Focal_361/cmake_build/install64/ .. To run. I get the error CMake Error at connection/CMakeLists.txt:29 (FIND_PACKAGE): Could not find a package configuration file provided by "HELICS" (requested version 3) with any of the following names: HELICSConfig.cmake helics-config.cmake My guess is that the cmake...
Thanks for the help so far. At the moment I am trying to get the line cmake -DCMAKE_INSTALL_PREFIX=../install64 -DCMAKE_BUILD_TYPE=Release -DGLD_USE_HELICS=ON -DGLD_HELICS_DIR=/mnt/c/Code/HELICS_Focal_361/cmake_build/install64/ .. To run. CMake Error at connection/CMakeLists.txt:29 (FIND_PACKAGE): Could not find a package configuration file provided by "HELICS" (requested version 3) with any of the following names: HELICSConfig.cmake helics-config.cmake My guess is that the line is pointing to wrong...
Hello Shakiell, That cmake command is likely it. I'll also note there's a semi-half-hidden step at the beginning of the GridLAB-D compile. Right before the git submodule command, you should ideally check out the release branch (master should be aligned, but that ensures you are getting the latest release): cd gridlab-d git checkout v5.3.0 git submodule update --init However, I suspect the lack of -DHELICS=ON and -DGLD_HELICS_DIR setting are the primary reason you're having issues. -Frank
Good evening, Looking back at my notes, that is most likely the issue. The commands I used are shown in the .txt file attatched. Most of it is standard fair. I was aware that I needed to build from source to use helics. I did use cmake to build as the website stated it was necessary, but the information on how was outdated on the helics website as they pointed to Instructions specifically for GridLab-D V3. cmake -DCMAKE_INSTALL_PREFIX=../install64 -DCMAKE_BUILD_TYPE=Release -DGLD_USE_HELICS=ON -DGLD_HELICS_DIR=/mnt/c/Code/HELICS_Focal_361/cmake_build/install64/...
Hello Shakiell, This error is generally caused by GridLAB-D not being able to find the HELICS library, or that it wasn't compiled with HELICS linking. If you still have your build commands available (especially for GridLAB-D), that would be most helpful. I've confirmed the GridLAB-D connection works with Ubuntu 22.04 (but that shouldn't matter much) with GridLAB-D v5.3 and HELICS v3.6.1. In general, when you do the cmake command, it should have the -DGLD_USE_HELICS=ON flag set and have the -DGLD_HELICS_DIR=...
Hello everyone. I am a university student with a group attempting to use Gridlab-d with ns3 and helics. The goal was to run a project similar to the Citadels project run by the DOE. I am having a similar issue on ubuntu 24.04 helics 3.6.1 python 3.12 GridLab-d 5.2 64 bit for Linux Currently we have the individual programs working on the ubuntu Virtual box. However when attempting to run the example found in the comment below that is found on the helics page I have gotten errors with the .glm file...
Hello Tim, Unfortunately, the inverter model and controls are extremely basic. Depending on the inverter model you are using (I assume just object inverter that is in this old thread) and the volt-var control, it might not have that limitation built in. The VOLT_VAR_FREQ_PWR mode has a flag disable_volt_var_if_no_input_power that if set will prevent any reactive power production without solar input. The other modes are much more simplified and handwave over it assuming the inverter has a "Night-Q"...
I'm trying to utilize Volt_Var Control for an inverter connected to solar. The grid that it is connected to has a low voltage before the solar is connected, therefore the controller automatically going to try to fix the voltage. My issue is that it is absorbing Q, even when the solar is not producing any power. This would not be the case in reality, I don't believe, because most solar inverters have a limit of +/-0.8 PF, and this scenario has a power factor of 0. Is there a way to fix this so, the...
Thank you! I hadn't been able to find that, so my file was what I had created from scratch. Good to know that's available.
Hello Brandon, I'm not sure where your copy of the IEEE 34-node came from, so I'm not sure what might be incorrect with it. You can find validated versions of the various IEEE test feeders under the powerflow/autotest folder if you pull the repository. The biggest "change" on those files is they are unit tests, so you need to delete all of the complex_assert objects in them - otherwise, once you start modifying it, they will fail. Attached is a modified version of the test_IEEE_34_NR.glm from the...
I am trying to implement the IEEE34 bus feeder on GLD v5.2. The node voltage results are not matching the voltage profile specified. Phase C voltages drop to ~0.8pu towards the end of the feeder while phase B voltages remain high. I've tried for days to troubleshoot but can't pinpoint the issue. Once I can get the baseline running, the plan is to implement solar on node 890, which is currently commented out.
I am trying to implement the IEEE34 bus feeder on GLD. The node voltage results are not matching the voltage profile specified. Phase C voltages drop to ~0.8pu towards the end of the feeder while phase B voltages remain high. I've tried for days to troubleshoot but can't pinpoint the issue. Once I can get the baseline running, the plan is to implement solar on node 890, which is currently commented out.
I am trying to implement the IEEE34 bus feeder on GLD. The node voltage results are not matching the voltage profile specified. I've tried for days to troubleshoot but can't pinpoint the issue. Once I can get the baseline running, the plan is to implement solar on node 890, which is currently commented out.
Hello Muneebur, So just a couple things. GridLAB-D doesn't work with per unit values but since you've entered everything as such it might work but the solver might have a tough time of reaching convergence. The reason you get a phase mismatch error is all lines must be connected to node, meter, or load objects. you can't attach a line directly to a diesel_dg object. A diesel_dg object must also have a parent that is a node or meter object.
Hi, I am a beginner trying to solve powerflow for a simple 3 bus meshed power system Bus1: Swing V=1 pu theta =0 Bus2: PV Vpu =1.02 P=1pu Bus3: PQ 2+2j pu Lines 1-2, 1-3 and 2-3 have only reactance X=0.1j pu. I am trying to model the PV bus as diesel_dg and lines as overhead_line but not sure how to use line_configuration for each. Also i am getting a phase mismatch error in line1_to_2. I have attached my glm file.
Unfortunately due to updates to msys2 packages it is not possible to compile anything older than v5.3 in Windows. Your best recourse to compiling v4.3 is through wsl linux environment.
Is this problem also fixed for v4.3? Or is not longer possible to build v4.3 from source code in Windows?
Since this is the GridLAB-D forum, I'll answer that question. If there are other TESP-related questions you can ask them on the TESP GitHub discussion page. The real power losses in GridLAB-D are just resistive losses which take place for every "link" object, the main ones being the lines themselves (overhead and underground) but also include transformers. For all of these objects you can record the "power_losses" parameter to see the losses associated with that object. If you want to see the losses...
Hi, I would like to know how to calculate the amount of energy purchased by the buyer after a round of energy trading, I am using a platform that has been modified by TESP, and in his code it is calculated by adding and subtracting several loads of the buyer, but I find that the energy loss problem in there puzzles me, I would like to know what the energy loss problem in GridLABD is related to other than length?
Hi Abdullah, The population script that is a part of the GridAPPS-D project is not designed to work against a GridLAB-D model(.glm) unfortunately but rather a CIM standard sparql database. The platform does have base IEEE 13 and 123 node models with house object populated on them. So you could generate the glms of those models using but they also would include HELICS co-simulation objects for specific GridAPPS-D platform uses that you would need to manually remove. All this to say Franks first approach...
Hello Abdullah, Apologies for the delay in responding. The old population script located under the taxonomy_feeders repository should still work, but you do have to modify the IEEE feeders (because the script is looking for triplex_meter and triplex_node objects). There is an IEEE 8500-node version located under the tools repository -- I don't know if that still works though. There is an updated population script associated with the GridAPPS-D project a version can be found here, but I don't know...
Hello Abdullah, Since this is basically the same as your other question located here, please see that message. -Frank
Hi Dr. Tuffner, Is there any working script to populate IEEE test feeders with Houses? or are there any already built and tested test feeders with Houses? Thank you. -Abdullah
Hi Dr. Tuffner, Is there any working script to populate IEEE test feeders with Houses? or are there any already built and tested test feeders with Houses? Thank you. -Mamun
Hi, I am wondering if there is any repository which has IEEE test feeders models with houses? For example IEEE-13, 123 etc. Or, if there is any updated script which will populate any IEEE test case system with houses? This would be really help.
Hi, I am wondering if there is any repository which has IEEE test feeders models with houses? For example IEEE-13, 123 etc. Or, if there is any updated script which will populate any IEEE test case system with houses? This would be really help.
Thank you, Dr. Tuffner for the information. -Abdullah
Hello Adbullah, Based on the type of data Jerry included in the original email, my guess would be a load object was used load wiki page. That type of CSV could probably be just "played" into the base_power_X fields (you may need to divide it by 3 and set for each of the three phases). That would allow you to set specific ZIP fractions/power factors too, if there's a specific type of load you are emulating. -Frank
Hi Jerry, It would be really helpful if you could share the solution in details here. I am new to GridLAB-D. Thank you.
Hi Jerry, It would be really helpful if you could share the solution in details here. I am new to GridLAB-D. Thank you.
Never mind, I found the solution
Hello, Sorry for creating a new thread, but I want to confirm something. For context I want to make a zero emission building using renewable specifically solar. I want to simulate the electrical demand of my school using a player. Is there some sort of object load that can do that or has that property? or is object house the only way to simulate that? I attached a csv of my school electrical demand for reference. I use the latest version GridLAB-D 5.2.0-19642
Hi Frank, Thank you for clarifying! I will surely look into the Arras Energy fork.
Hello Swastik, Those values are arbitrary, set to be "high" as to not trigger warnings when people aren't concerned about them. So the calculation was "that looks like a nice big, round number - good enough!". I'll also note that the functionality is quite limited, mostly with them throwing a warning of "line is overloaded" (but I believe the violation_recorder looks for overloads). As you mentioned, that 4.16 MVA (actually closer to 12.48 MVA, since that is a per-phase check) is quite high. Reaching...
Hi, I know that we can set the thermal limits on the lines using: rating.summer.continuous; rating.summer.emergency; rating.winter.continuous; rating.winter.emergency; But i was wondering how is the gridlabd assuming the limits to be 1000A for summer and 2000A for winters by default. Is there some calculation on the basis of which GLD comes up with this? Also, it would be highly helpful if someone could tell how to reach at these limits? Let's say for my system with 4.16kV base voltage won't 1000A...
Hi, I know that we can set the thermal limits on the lines using: rating.summer.continuous; rating.summer.emergency; rating.winter.continuous; rating.winter.emergency; But i was wondering how is the gridlabd assuming the limits to be 1000A for summer and 2000A for winters by default. Is there some calculation on the basis of which GLD comes up with this? Also, it would be highly helpful if someone could tell how to reach at this limits? Let's say for my system with 4.16kV base voltage won't 1000A...
Hi Dr. Tuffner, Thank you for replying to this thread! I would definitely look into this. -Mamun
Hi Team, I have been working with GLD (Version 5.1) for quite some time, familiarizing myself with it. I recently started tweaking around to see the internal working of it. Currently, I am working with the IEEE 123 Bus system, where I am attempting to add a few large loads to observe warnings related to overloads and voltage issues. I have tried everything to trigger warnings by setting "warning_undervoltage 0.95; warning_overvoltage 1.05;" in the powerflow module and using a violation_recorder,...
Hi Team, I have been working with GLD (Version 5.1) for quite some time, familiarizing myself with it. Recently, I started exploring the internal workings of the project. Currently, I am working with the IEEE 123 Bus system, where I am attempting to add a few large loads to observe warnings related to overloads and voltage issues. I have tried everything to trigger warnings by setting "warning_undervoltage 0.95; warning_overvoltage 1.05;" in the powerflow module and using a violation_recorder, but...
Hello Abdullah, Since the post is over 5 years old, I'd be surprised if Cody responds. There are some feeder generators/population scripts under the GridLAB-D Git repository, or there's one part of the Transactive Energy Systems Project (specifically located here) that people have had luck with in the past (and is much newer than the scripts in the GridLAB-D repository). -Frank
Hello Loraine, Unfortunately, we deprecated the MATLAB functionality a couple versions ago (v5.0 or v5.1 silently stopped including it). The preferred approach at the moment is to use the HELICS cosimulation platform as the communication method between GridLAB-D and MATLAB (among other things). Due to how the MATLAB API kept changing and some of the limitations of our existing implementation, HELICS probably provides the most capability to interface with MATLAB at the moment. -Frank
Thanks, Andy, for your answer. I was able to install GridLAB-D succesfully on Linux . I have the following question: Is Matlab-link functionality still available in this version? If so, what are the variables that I should use at build generation?
Thanks, Andy, for your answer. I was able to install GridLAB-D succesfully on Linux . I have the following question: Is Matlab-link functionality still available in this version? If so, are the variables GLD_USE_MATLAB and GLD_MATLAB_DIR the ones that I should use at build generation?
Hi Loraine. There was a recent build issue encountered with the latest msys2 environment. It has been fixed in the develop branch of GridLAB-D. A release with the fix is scheduled for the end of the month.
Dear all, I have tried to install latest version of GridLAB-D with no success following the instructions posted on https://gridlab-d.shoutwiki.com/wiki/CMake_Build I do not know what the problem is. I am using Windows 11, MSYS2 MINGW64 and CMake version is 3.29.5. I am attaching the step I followed : 1: git clone https://github.com/gridlab-d/gridlab-d.git 2: git submodule update --init 3: cmake -DCMAKE_INSTALL_PREFIX=~/software/GridLAB-D -DCMAKE_BUILD_TYPE=Release -G "CodeBlocks - Unix Makefiles"...
Dear all, I have tried to install latest version of GridLAB-D with no success following the instructions posted on https://gridlab-d.shoutwiki.com/wiki/CMake_Build I do not know what the problem is. I am using Windows 11, MSYS2 MINGW64 and CMake version is 3.29.5. I am posting the step I followed: 1: git clone https://github.com/gridlab-d/gridlab-d.git 2: git submodule update --init 3: cmake -DCMAKE_INSTALL_PREFIX=~/software/GridLAB-D -DCMAKE_BUILD_TYPE=Release -G "CodeBlocks - Unix Makefiles" .....
Hi Cody, Can you please share your matlab code that populates the model with houses? Also, do you have the correct version of the GLM file?
Hello Jerry, Apologies for the delay in the response. "Probably". It depends what format your load profile is in. The obvious choice is usually as some sort of player object, where you use that to push the data to a powerflow load object. If you haven't done so, you may want to check out the webinar recordings we have, or the GridLAB-D Tutorial to get some ideas on how that could be incorporated into the system. Depending on the data, you may also be able to do it via the MySQL interface or using...
I have a load profile for my university, and I would like to add it to my simulation. Is there a way to do that? Thank you
Thank you, Dr. Tuffner. This is really helpful. I will look into these materials. -Mamun
Hello Mamun, Apologies for the delay in getting back to you on this. Technically, it is possible to run GridLAB-D in Python, but only by manually calling the executable (with something like popen or similar). There's a simple example up on the GitHub tools repository. For HELICS, if you download the compiled executable for GridLAB-D, you'll need the complimentary compiled binaries for HELICS. Since you're using Python, you'll want to consult the HELICS repository and forums/tickets for the most up...
Hi, I have downloaded the GridLab-D in my windows machine (GridLAB-D 5.2.0-19642 (0df31c0:HEAD) 64-bit WINDOWS RELEASE). I am trying to run GridLab-D via python. I don't know if it is currently possible or not. If yes, then could someone please provide me the procedure to do it? I tried to find the procedure but some are pretty old and I am confused with it. Also, if you are suggesting of using HELICS then could you please give me the up to date connection process between GridLab-D and HELICS in...
Hi, I am downloaded the GridLab-D in my windows machine (GridLAB-D 5.2.0-19642 (0df31c0:HEAD) 64-bit WINDOWS RELEASE). I am trying to run GridLab-D via python. I don't know if it is currently possible or not. If yes, then could someone please provide me the procedure to do it? I tried to find the procedure but some are pretty old and I am confused with it. Also, if you are suggesting of using HELICS then could you please give me the up to date connection process between GridLab-D and HELICS in a...
Hi, I am downloaded the GridLab-D in my windows machine (GridLAB-D 5.2.0-19642 (0df31c0:HEAD) 64-bit WINDOWS RELEASE). I am trying to run GridLab-D via python. I don't know if it is currently possible or not. If yes, then could someone please provide me the procedure to do it? I tried to find the procedure but some are pretty old and I am confused with it. Also, if you are suggesting of using HELICS then could you please give me the up to date connection process between GridLab-D and HELICS in a...
Hello Jerry, That is correct. power convention in GridLAB-D is represented from the load's perspective. Power Generation from a PV/Battery would be a negative load. Andy
Hello, I am a beginner, so I have been playing around with some code. I am working on a project which requires me to add a PV to the IEEE 13 bus. My goal is to get the power output of the PV. The recorder is giving me a negative power. What am I missing? GridLAB-D 5.2.0-19642
Hi Dr. Tuffner, Thank you for your valuable reply and specially guiding me to the tutorial pages. Yes, you are correct. I had multiple versions of GridLAB-D installed. I have fixed the issue. Currently, I am using GridLAB-D in my ubuntu via Oracle VM Virtual Box and it is working fine. I can run the glm models now. Also thank you for pointing out about the windows installer. I don't know why I missed it but it is definitely a great alternative for me. In future, any problem arises, I would definitely...
Hello Mamun, Apologies for the delay getting back to you. The YouTube sequence linked (it was in a message you deleted) is a set done by a third-party that was posted to YouTube - it wasn't an official GridLAB-D tutorial, so that may be why it has some oddities in it. We highly recommend users visit the official wiki, especially the GridLAB-D tutorial page. First off, that error looks like you have multiple versions of GridLAB-D installed. Since you mentioned a Debian install in WSL, I'm guessing...
Hi Dr. Tuffner, Thank you for these important link. I believe Elizabeth is referring to this video : Youtube I am also facing similar issue. Even when I am running pre-loaded IEEE-13.glm I am getting the following error message: "PS C:\1.MAMUN\gridlabd> gridlabd IEEE_13.glm --profile ERROR [INIT] : Module version 4.1 mismatch from core version 5.1 IEEE_13.glm(11): module 'powerflow' load failed, No such file or directory IEEE_13.glm(11): load failed at or near 'module power...' ERROR [INIT] : unable...
Hello Lucas, The ELCAP information should be based on this document, with many references here. I'm not sure if the raw data is available anywhere. One item for your GLMs is you do have a ZIP refrigerator in both of them, so that may increase the likelihood of "always having a load". That said, if you look at the REFRIGERATOR schedule (and the implicit versions are similar), it never has a zero value. Since this is just effectively doing a power manipulation (and not cycling the compressor or anything),...
Hello Hussain, Apologies for the delay in responding. The answer is probably "sort of". You can play a voltage player in that has varying frequency, which powerflow and generator components would then respond to. An example of this (and the code to generate it) is located in the tools->matlab_scripts repository. You can look at that code as a way to figure out how to impose the frequency adjustment you've mentioned into a voltage player. This would allow any generator on the system to respond to...
I am using GridlabD version 5.1.0. I need to accurately simulate the load profiles of various Household appliances (dishwasher, refrigerator, etc.) and have been trying to do so unsuccessfully via GridlabD . To my understanding, there are 3 ways to incorporate appliances into a GLM file (Implicit Loads, Zip Loads, and Unsupported Appliance Models). I attached two GLM files with my attempts for utilizing Implicit Loads and Zip Loads to do this. I got the Zip Load parameters and schedule from one of...
Hello, I'm a new GridLAB-D user. I have a set of time-series frequency data with a 0.033 second time resolution. I'm curious to know if it's possible for me to use this data within a player object as an input for a generator model in GridLAB-D. Thanks in advance.
Excellent! This worked perfectly! Thanks for your help! Lucas
Excellent! This worked perfectly! Thanks for your help! Lucas
Hello Lucas, You were pretty close with your attempt, but a few things needed to be fixed. The first is I specified a timezone entry in the clock portion of your GLM. Some GridLAB-D models can do some unexpected behaviors if you don't define this, so I always recommend people include it. I set it to CST/CDT, since that's where weather file being used was based. I also extended it to 5 seconds of runtime, just so it shows a transition in and out of deltamode. The second item is the player file. You...
Hello Lucas, Even with an "empty house", it still technically has a default version of the HVAC enabled. That's why you were seeing the spikes up to 5200 W. If you recorded the air_temperature value, you'd likely see it reach a set point, turn the HVAC on, then turn it off. If you want a truly "idle/empty" house, you can set your house like this: object house { parent house_meter; system_type NONE; heating_system_type NONE; cooling_system_type NONE; auxiliary_system_type NONE; fan_type NONE; } GridLAB-D...
Hello Elizabeth, Can you provide a link (or post) the IEEE 4-bus network file you're using? It sounds like there's a syntax error, but it is hard to tell what exactly is going on with that output. I do not think it is due to any missing libraries or anything like that - it looks like it is trying to run (so that's a good start!). If you can post a link to the video, that may be helpful too (just in case we have a mistake in it). I usually refer people to the GridLAB-D tutorial (and its files located...