Skip to content

A persistent error with time-dependent with VCs #70

@ehabhassan

Description

@ehabhassan

The following error takes place very frequently, but I can't any logical pathway to fix it. The source of the error comes from I_R = 0

/home/username/anaconda3/lib/python3.12/site-packages/freegs4e/jtor.py:562: RuntimeWarning: divide by zero encountered in scalar divide
L = self.Ip / I_R - LBeta0 * (IR / I_R - 1)
/home/username/anaconda3/lib/python3.12/site-packages/freegs4e/jtor.py:562: RuntimeWarning: invalid value encountered in scalar divide
L = self.Ip / I_R - LBeta0 * (IR / I_R - 1)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions