NatLabRockies / NatLabRockies/SAM

Create ssc_eqns function that takes the whole vartable as an input

Open
#2,224 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
486
Forks
219
Avg merge
10h 10m
Merged PRs (30d)
2

Description

The existing ssc_eqn function requires setting up a table as an input, which is ok for a small number of inputs, but functions like https://github.com/NatLabRockies/ssc/pull/1412 can have 25+ inputs.

ssc_auto_exec_eqn utilizes the vartable, but requires the function to be stored in the compute module.

Create a new function that calls an ssc equation while passing in the entire vartable.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing ssc_eqn and ssc_auto_exec_eqn entry points and the vartable handling in the compute module. Compare how each receives inputs, then define the new ssc_eqns interface around the full vartable and verify it supports equations with many inputs, such as the workflow referenced in pull request 1412.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.