Have you looked at the new sympy.physics.unitsystems module? It should be more flexible than the sympy.physics.units module.
Aaron Meurer On Sun, Aug 9, 2015 at 2:56 PM, Thiago Costa de Paiva <[email protected]> wrote: > Hello guys > > I use python (notebook, sympy, pyspice and matplotlib are a very good > team) to design some electronic projects allowing me to have almost > everything in only one place. > > I tried for a while to play with the units but I was unable to go > further. Today I asked a question [0] in Stack Overflow that confirmed > that it was not possible. > > [0] http://stackoverflow.com/questions/31906377/volts-as-volts-in-sympy > > Is there a way to not have the units as the most basic ones (SI) but > according to the electronic context itself, like: > > ohm * ampere -> volt > volt / ampere -> ohm > volt / ohm -> ampere > ampere * volt -> watt > ... and so on. > > Thank you for your excellent work. > > Best Regards, > Thiago > > -- > Thiago Costa de Paiva > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sympy. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/20150809195655.GA1508%40reco. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6KQFkCY410dkNfa%3D7n8jLh7gvQcR%2B6cQ3t9GRMLgLZspg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
