New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: lp make lcapy circuit #157
Comments
This isn't really how it was designed to be used. Have a look through the examples here https://liionpack.readthedocs.io/en/main/examples/01%20Getting%20Started/ |
so |
It's just for use with netlists made using the setup_circuit function |
if we made netlists from |
I use lcapy for plotting the regular packs, the netlist has the form used by LtSpice etc. with an example here https://github.com/pybamm-team/liionpack/blob/main/examples/load_4p1s.py if you want to use lcapy to generate the circuits then convert to netlist that will need some development but I guess shouldn't be too hard. How familiar with lcapy are you? |
i just learning about lcapy |
So I think we can close this issue or make a longer term feature request |
okey, thank you sir |
liionpack Version
0.3
Python Version
3.8
Describe the bug
I try to make a circuit from lcapy to connect to liionpack,
my code is
import pandas as pd
import liionpack as lp
net_left = lp.setup_circuit(Np=1, Ns=1, terminals="left")
netlist = pd.DataFrame({"desc": ["V1"], "node1": [1], "node2": [5], "value": [10]})
aa = pd.DataFrame(data = netlist)
lp.make_lcapy_circuit(aa)
lp.show_plots()
but my code is error, i don't realy know about parameters or what must be fill on
lp.make_lcapy_circuit()
Thank you very much
Steps to Reproduce
No response
Expected behaviour
No response
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: