Repository navigation
Hubert Pan's Notebook
- Completed the Welcome Quiz and decided to join the Device Modeling subteam
- Started researching power grid components
- Joined the cps-vip Github
- Attended the in-person class and discovered there were only two members in Device Modeling (me and Nicholas)
- Decided to stay in the Device Modeling subteam and began browsing the GitHub repository
- Held weekly subteam meeting with Nicholas and decided on possible future meeting times
- Most of the work this week was dedicated to defining tasks for the Kickoff Presentation
- Downloaded WSL2and Ubuntu so I can access Linux on my Windows laptop
- Weekly subteam meeting to discuss the procedure for merging the branches in this repo
- Started working on setting up Nix through Ubuntu by following the README
- Step 1: run
$ sh <(curl -s -L https://nixos.org/nix/install) --daemonin the terminal
- Step 2: clone this repo by running
git clone https://github.com/cps-vip/cps-cosimulation-env.git
-
Step 3: Then, run
sudo nano /etc/nix/nix.conf' to open Nano editing window and then typeexperimental-features = nix-command flakes`. Ctrl + O to save and then Ctrl + X to exit. -
Step 4: Run
nix developin the same folder theREADME.ndandflake.nixfiles are in
- Step 5: Run
git submodule update --init --recursiveto initialize and update the git submodulesgridlab-dandHELICS - Step 6: Run
nix developandmake all-install
Followed Install Docker Engine on Ubuntu and How to Install Docker on Ubuntu Linux to download Docker on my virtual Linux machine (Ubuntu)
$ sudo apt update$ sudo apt install ca-certificates curl$ ls -la /etc/apt/keyrings/$ sudo install -m 0755 -d /etc/apt/keyrings$ sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc$ sudo chmod a+r /etc/apt/keyrings/docker.asc$ sudo tee /etc/apt/sources.list.d/docker.sources <<EOFTypes: debURIs: https://download.docker.com/linux/ubuntuSuites: $(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}")Components: stableSigned-By: /etc/apt/keyrings/docker.ascEOF$ sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin$ sudo docker run hello-world
Nick helped me set up Git on Ubuntu and add an SSH key
sudo apt updatesudo apt install git -ygit config --global user.name "username"git config --global user.email "email@email.com"ssh-keygen -t ed25519 -C "email@email.com"eval "$(ssh-agent -s)"ssh-add ~/.ssh/id_ed25519cat ~/.ssh/id_ed25519.pubssh -T git@github.comcode .
Furthered my interest in the PCB design process that the ROS-HELICS team was doing so I downloaded KiCad.
Found this component (Buck Switching Regulator IC Positive Adjustable 0.6V 1 Output 5A) for power management.

- Mainly worked on finalizing the midterm presentation this week
- In order to merge the branches, we first went through the commit history in the "piperr" and "Device_modeling_subteam01" branches and found that they split off after October 31, 2025
* Because these two are the most similar and relevant branches, we will focus on merging them first
- We found that the "Networking_team" branch split off after January 30, 2025 so merging this branch with the other two will be more challenging.
- In order to merge these branches, I began familiarizing myself with Git Push and Pull commands through this tutorial
- Met with Nick and went through the process of creating the new branch (device_modeling_team)
- Followed these steps to build the Docker image and run the Docker container
- Running ./setup.sh errored
- Received the Raspberry Pi this week and attempted to complete the network setup
- A networking bug was discovered in the original Raspberry Pi image
- Followed Hayden's instructions to reimage the Raspberry Pi by downloading the new image and unzipping the new image file
- Inserted the Raspberry Pi's microSD card into my computer
- Downloaded balenaEtcher to write the new image onto the microSD card
- Attempted the network setup instructions again and ran into this error
- Spring Break
- Met with Nick and merged the piperr branch into our new device_modeling_team branch
- Troubleshooted the Raspberry Pi network issues in class, but still faced the same issues
- Followed the same steps in Week 9, ./setup.sh reached 48% and then started sending fatal error messages
- Followed instructions in the # helpdesk channel in the discord
- Run using Admin Powershell on Windows
netsh advfirewall firewall add rule name="ICMP Allow" protocol=icmpv4:8,any dir=in action=allow
Restart-Service SharedAccess
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" -Name "IPEnableRouter" -Value 1
- The first picture shows running the commands without running as Administrator, but the commands work when running as administrator
- Focused on getting the Raspberry Pi Network Setup working
- Sam worked through it and got it to work using some combination of the commands, disabling sharing, unplugging the pi, plugging pi back in, enabling sharing again
- Completed and presented Final Presentation
- Successfully cloned the cps-cosimulation-env repo in to the Raspberry Pi
- First, follow the network setup instructions and execute the Powershell commands in Administrator Powershell
- Then, try testing (which probably won't work), then disable sharing for wifi and follow network setup instructions and execute the Powershell commands again
- Try testing it (which probably won't work again), then turn on sharing for wifi and follow the network setup instructions and execute Powershell commands
- Try testing it and hopefully it will work now
Active Notebooks
- Aditi Kulkarni's Notebook
- Aly Aadil Salewala's Notebook
- Carter Pattison's Notebook
- Christopher Gossmann's Notebook
- Esha Pansara's Notebook
- Estelle Jung's Notebook
- Favour Adekola's Notebook
- Galadriel Cho's Notebook
- Prisha Baravkar's Notebook
- Rishika Vunnama's Notebook
- Ryosuke Shibuya's notebook
- Txaber Trevino's Notebook
- Zeus Banda's Notebook
Archive
- Adam McAndrews Notebook
- Albert Nguyen Notebook
- Alexander Rice's Notebook
- Amani Bedwa's Notebook
- Aparupa Brahma's Notebook
- Arya Gujarathi's Notebook
- Bermet Talantbekova's Notebook
- Calvin Rioux's Notebook
- Christina Shih Notebook
- Chungman Kim's NoteBook
- Connor McCary's Notebook
- Dhruv Patels Virtual Notebook
- Elliot Kantor's Notebook
- Ethan Lee Notebook
- Filippos Notebook
- Gweneth Smith's Notebook
- Hubert Pan's Notebook
- Hussein Rmaile Notebook
- Isabella Jemal's Notebook
- Joseph Masson's Notebook
- Jude Karaki Notebook
- Kaden McCartney's Notebook
- Maria Cymbalyuk's Notebook
- Natalie Ajemian's Notebook
- Nguyen Nguyen's Notebook
- Nicholas Reed's NoteBook
- Piper Wright's Notebook
- Quintin's notebook
- Rahil's Notebook
- Raj Patel Notebook
- Reva Hajarnis Notebook
- Rick Berglund's Notebook
- Rossy's Notebook
- Sabina Sokol's Notebook
- Safiy Malik Notebook
- Sam Ling's Notebook
- Sam Litchfield Example Notebook
- Shrayes Upadhyayula Notebook
- Soyoung Moon's Notebook
- Suraj Shekar Notebook
- Vidur Modgil's Notebook
- Xin Zhao Notebook
- Xinyan(Rose) Jiang's Notebook
- Zaeem Ahmad Notebook