SkillAgentSearch skills...

Dasslc2py

Dasslc is a solver for differential-algebraic equations inspired by DASSL. A python module for dasslc is provided.

Install / Use

/learn @asanet/Dasslc2py
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Python wrapper for DASSLC

This is a simple wrapper for using the "Differential-Algebraic System Solver in C" by Argimiro R. Secchi (PEQ/COPPE/UFRJ) in python.

Getting Started

All the information about the usage of this package can be found in example file

Dasslc2py/dasslc_example.py

Prerequisites

  • C compiler:
archlinux: $ sudo pacman -S gcc gcc-libs

Python 3 with numpy, pip and (optionally) matplotlib

archlinux: $ sudo pacman -S python python-numpy python-matplotlib
OBS: matplotlib is needed by the **dasslc_example.py** file
  • If you want sparse algebra support, you need to first compile Sparse. On linux, open a terminal in sparse/src directory and run:
$ make

Installing

  • In order to locally build this module, open a terminal at the dir Dasslc2py and run the following command
$ python setup.py build_ext --inplace
  • Instead, if you want to install it along with your python distribution, run
$ pip install .

Author

  • Ataíde Neto - ataide@peq.coppe.ufrj.br
View on GitHub
GitHub Stars18
CategoryDevelopment
Updated5mo ago
Forks9

Languages

C

Security Score

92/100

Audited on Oct 26, 2025

No findings