![]() Do NOT use the Project.toml file from any package, create your own instead. Well, first of all do NOT checkout PowerModuls.jl or any other package you want to use from git. Run_ac_opf(“nesta_case3_lmbd.m”, IpoptSolver()) ![]() “nesta_case3_lmbd.m”) has been acquired, an AC Optimal Power Flow can be executed with, Once PowerModels is installed, Ipopt is installed, and a network data file (e.g. I just want to run the Code, shown in the read me: Basic Usage Runing one line of Code by Ctrl+enter in a file in that folder starts Julia and I can type in using Pkg and then activate and so on…īut that is also another problem due to inexperience, I hope. (… the cd(“D:\Daten\Julia\PowerModels.jl-master”) command then does nothing, right? But I should be in the working directory) I can change the environment in the left corner of VSCode and chose “C:\users\myName.julia\environments\v1.7”, but that doesnt help … and typing in “using Pkg” doesnt work in any case. So to back up to the absolut beginning in VS Code: “File” → “Open Folder” and my Terminal Commant line shows PS D:\Daten\Julia\PowerModels.jl-master> I am in the right path, I guess, and I did activate and instantiated (what I think is the current folder with those files). The example I tried is the link (PowerModels, but any would work for me, I just need an example), it does have a Project and Manifest file. ![]() My choice (but the topic of the code doesnt matter, this one is just one I should understand and the README is super easy… so I thought):Īll I wanted is to run a Julia file, thats it. My plan was to get code and learn from it. I tried this with two different programs and got a similar error. I tried to get random program and run it. I know that this question came up a few times in different context, but I did not really think the answers there where helpful. This is basically my first day with Julia. WARNING: using x.x in module Main conflicts with an existing identifier New to Julia
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |