Skip to content

Main sim maintenence#52

Open
goob10000 wants to merge 12 commits intomainfrom
main-sim-maintenence
Open

Main sim maintenence#52
goob10000 wants to merge 12 commits intomainfrom
main-sim-maintenence

Conversation

@goob10000
Copy link
Copy Markdown
Member

Functional FS-3 Electrical Model

@goob10000 goob10000 requested a review from DanielRhee April 9, 2026 21:20
@goob10000 goob10000 self-assigned this Apr 9, 2026
Copy link
Copy Markdown
Contributor

@DanielRhee DanielRhee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mostly just change the relative paths. otherwise looks good

import matplotlib.pyplot as plt
import pandas as pd

PARQUET_PATH = "/Users/evajain/Downloads/08102025Endurance1_FirstHalf (1).parquet"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be relative path

C4 = 0.01567795

R0 = 0.0016
KERNEL_LEN = 200
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

define at top of file, not halfwya through

import polars as pl
import matplotlib.pyplot as plt

df = pl.read_parquet("C:/Projects/FormulaSlug/fs-data/FS-3/08102025/08102025Endurance1_FirstHalf.parquet")[5:]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make it a relative path


# --------------------------------------------------
# 🔧 FIX 1: Normalize SOC to [0, 1]
# --------------------------------------------------
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the emojis lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants