eecircuit-engine 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -0
- package/dist/eecircuit-engine.mjs +304 -269
- package/dist/eecircuit-engine.umd.js +8 -8
- package/dist/main.d.ts +27 -17
- package/package.json +7 -4
package/README.md
CHANGED
|
@@ -1,2 +1,17 @@
|
|
|
1
1
|
# EEcircuit-engine
|
|
2
2
|
Simulation engine for EEcircuit
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
```typescript
|
|
6
|
+
import { ResultType, Simulation } from "eecircuit-engine";
|
|
7
|
+
|
|
8
|
+
export const sim = new Simulation();
|
|
9
|
+
|
|
10
|
+
sim.setNetList(bsimTrans);
|
|
11
|
+
|
|
12
|
+
await sim.start();
|
|
13
|
+
|
|
14
|
+
await sim.runSimP();
|
|
15
|
+
|
|
16
|
+
const result = await sim.getResult();
|
|
17
|
+
```
|