Skip to main content

Symbolic Modeling Tool

This package converts symbolic functions written in sympy to their numerical versions and also generates the Jacobian matrix.

Features

  • Convert symbolic functions to numerical versions
  • Generate the Jacobian matrix for the functions

Installation

To install the package, use pip:

pip install ps_symbolic_modeling_tool

Usage Example

Put your symbolic code and model information into a folder (suppose the folder is named sym_files).

From another Python script

import ps_symbolic_modeling_tool

# Define the paths
folder_path_for_files_to_be_converted = 'sym_files'
num_output_folder_path = 'num_files'
jac_output_folder_path = 'jac_files'

# Generate numerical functions
ps_symbolic_modeling_tool.to_num(folder_path_for_files_to_be_converted, num_output_folder_path)

# Generate Jacobian functions
ps_symbolic_modeling_tool.to_jac(folder_path_for_files_to_be_converted, jac_output_folder_path)

From the CLI

ps_symbolic_modeling_tool num --folder_name sym_files --output_folder num_files
ps_symbolic_modeling_tool jac --folder_name sym_files --output_folder jac_files

Licence

This project is licensed under the GNU Lesser General Public License v3.0 (LGPL-3.0) LICENCE.

Contact

If you have any questions or feedback, please contact tianqi.hong@uga.edu.

Metadata

Release files for ps-symbolic-modeling-tool 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ps-symbolic-modeling-tool 0.2.0
File Size Uploaded
ps_symbolic_modeling_tool-0.2.0.tar.gz 22.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ps-symbolic-modeling-tool 0.2.0
File Interpreter ABI Platform
ps_symbolic_modeling_tool-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 47.1 kB

Release files / ps_symbolic_modeling_tool-0.2.0.tar.gz

Download URL ps_symbolic_modeling_tool-0.2.0.tar.gz
Size 22.1 kB
Tags Source
SHA-256 checksum
How to use checksums
dc1ec00e90694ac18083a0578d152263f7a9dab2a2d090e709ccaecee4ed7403
BLAKE2b-256 checksum
How to use checksums
c1eb7dc289dfa119ad19194a28801e17a94eaf0395d9b4ecba6fae53d7615995
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.0

Release files / ps_symbolic_modeling_tool-0.2.0-py3-none-any.whl

Download URL ps_symbolic_modeling_tool-0.2.0-py3-none-any.whl
Size 25.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0f08ef6da5dcbe7f05a32c59c0eb3664bbfd5c7d78df9f86e48f2427f8654e7b
BLAKE2b-256 checksum
How to use checksums
7f702fa88e637fb98f3a61c84096417cd199ccb27ef60ac506b22c7830906fb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.0

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page