René's URL Explorer Experiment


Title: [Fix] Storing static power as a fraction in the dataset generator's edge servers by prawalpokharel · Pull Request #32 · EdgeSimPy/EdgeSimPy · GitHub

Open Graph Title: [Fix] Storing static power as a fraction in the dataset generator's edge servers by prawalpokharel · Pull Request #32 · EdgeSimPy/EdgeSimPy

X Title: [Fix] Storing static power as a fraction in the dataset generator's edge servers by prawalpokharel · Pull Request #32 · EdgeSimPy/EdgeSimPy

Description: The server power models compute static power as static_power_percentage * max_power_consumption, so they expect a fraction, and that is what the sample datasets store (E5430: 0.6264 of 265 W). The six edge-server builders in edge_sim_py/dataset_generator/edge_servers/ store watts instead (E5430: 166). A generated E5430 therefore draws 43,990 W at idle and 265 W at full load. This PR writes each builder's value as watts over maximum watts (for example 166 / 265), so both figures from the cited specifications stay visible. It changes one line per builder. CloudSim's PowerModelLinear, PowerModelSquare and PowerModelCubic, which have the same structure as EdgeSimPy's models, also take static power as a fraction (staticPowerPercent * maxPower). Measured with LinearServerPowerModel at 0%, 50% and 100% CPU: Builder Before (W) After (W) E5430 (max 265 W) 43,990 / 22,128 / 265 166.0 / 215.5 / 265.0 E5507 (max 218 W) 14,606 / 7,412 / 218 67.0 / 142.5 / 218.0 E5645 (max 200 W) 12,620 / 6,410 / 200 63.1 / 131.6 / 200.0 Jetson Nano (max 10 W) 50.0 / 30.0 / 10.0 5.0 / 7.5 / 10.0 Jetson TX2 (max 15 W) 112.5 / 63.8 / 15.0 7.5 / 11.2 / 15.0 Raspberry Pi 4 (max 7.3 W) 18.7 / 13.0 / 7.3 2.6 / 4.9 / 7.3 To reproduce: from edge_sim_py.dataset_generator import e5430 from edge_sim_py.components.power_models.servers import LinearServerPowerModel s = e5430() s.power_model = LinearServerPowerModel s.cpu_demand = 0 print(s.get_power_consumption()) # 43990.0 before, 166.0 after Datasets that were already generated and exported keep their stored values. Only new datasets change.

Open Graph Description: The server power models compute static power as static_power_percentage * max_power_consumption, so they expect a fraction, and that is what the sample datasets store (E5430: 0.6264 of 265 W). The ...

X Description: The server power models compute static power as static_power_percentage * max_power_consumption, so they expect a fraction, and that is what the sample datasets store (E5430: 0.6264 of 265 W). The ...

Opengraph URL: https://github.com/EdgeSimPy/EdgeSimPy/pull/32

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:843c69ff-5abc-2edd-53e0-7ec2cac06390
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBD74:21BD98:ACB74E:D9EE0A:6B012D3C
html-safe-nonce54c6939a9b52f4e88b7714a3aecb67b77cd406012ca5fe417ed377c6508a1e91
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDc0OjIxQkQ5ODpBQ0I3NEU6RDlFRTBBOjZCMDEyRDNDIiwidmlzaXRvcl9pZCI6IjY4NzEzMTcwODQwMDE4NzMyMTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaceaf4bfd7cb72ef93290df008390368cdef5203ca84d7f2fa93a14007b62b719c
hovercard-subject-tagpull_request:5343420067
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/EdgeSimPy/EdgeSimPy/pull/32/files
twitter:imagehttps://avatars.githubusercontent.com/u/57414987?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/57414987?s=400&v=4
og:image:altThe server power models compute static power as static_power_percentage * max_power_consumption, so they expect a fraction, and that is what the sample datasets store (E5430: 0.6264 of 265 W). The ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/EdgeSimPy/EdgeSimPy git https://github.com/EdgeSimPy/EdgeSimPy.git
octolytics-dimension-user_id112723488
octolytics-dimension-user_loginEdgeSimPy
octolytics-dimension-repository_id534266784
octolytics-dimension-repository_nwoEdgeSimPy/EdgeSimPy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id534266784
octolytics-dimension-repository_network_root_nwoEdgeSimPy/EdgeSimPy
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/EdgeSimPy/EdgeSimPy/pull/32/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FEdgeSimPy%2FEdgeSimPy%2Fpull%2F32%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FEdgeSimPy%2FEdgeSimPy%2Fpull%2F32%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=EdgeSimPy%2FEdgeSimPy
Reloadhttps://github.com/EdgeSimPy/EdgeSimPy/pull/32/files
Reloadhttps://github.com/EdgeSimPy/EdgeSimPy/pull/32/files
Reloadhttps://github.com/EdgeSimPy/EdgeSimPy/pull/32/files
EdgeSimPyhttps://github.com/EdgeSimPy
EdgeSimPyhttps://github.com/EdgeSimPy/EdgeSimPy
Codehttps://github.com/EdgeSimPy/EdgeSimPy
Issues4 (4)https://github.com/EdgeSimPy/EdgeSimPy/issues
Pull requests1 (1)https://github.com/EdgeSimPy/EdgeSimPy/pulls
Actionshttps://github.com/EdgeSimPy/EdgeSimPy/actions
Projectshttps://github.com/EdgeSimPy/EdgeSimPy/projects
Security and qualityhttps://github.com/EdgeSimPy/EdgeSimPy/security
Insightshttps://github.com/EdgeSimPy/EdgeSimPy/insights
Sign up for GitHub https://github.com/signup?return_to=%2FEdgeSimPy%2FEdgeSimPy%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FEdgeSimPy%2FEdgeSimPy%2Fissues%2Fnew%2Fchoose
pauloseverohttps://github.com/paulosevero
EdgeSimPy:masterhttps://github.com/EdgeSimPy/EdgeSimPy/tree/master
prawalpokharel:fix-generator-static-powerhttps://github.com/prawalpokharel/EdgeSimPy/tree/fix-generator-static-power
Conversation 1 https://github.com/EdgeSimPy/EdgeSimPy/pull/32
Commits 1 https://github.com/EdgeSimPy/EdgeSimPy/pull/32/commits
Checks 0 https://github.com/EdgeSimPy/EdgeSimPy/pull/32/checks
Files changed https://github.com/EdgeSimPy/EdgeSimPy/pull/32/files
Please reload this pagehttps://github.com/EdgeSimPy/EdgeSimPy/pull/32/files
[Fix] Storing static power as a fraction in the dataset generator's edge servers https://github.com/EdgeSimPy/EdgeSimPy/pull/32/files#top
Show all changes 1 commit https://github.com/EdgeSimPy/EdgeSimPy/pull/32/files
85f9e04 [Fix] Storing static power as a fraction in the dataset generator's e… prawalpokharel Nov 16, 2026 https://github.com/EdgeSimPy/EdgeSimPy/pull/32/commits/85f9e04c883e8c6e855b1e25e31e29d8737a4154
Clear filters https://github.com/EdgeSimPy/EdgeSimPy/pull/32/files
Please reload this pagehttps://github.com/EdgeSimPy/EdgeSimPy/pull/32/files
Please reload this pagehttps://github.com/EdgeSimPy/EdgeSimPy/pull/32/files
e5430.py https://github.com/EdgeSimPy/EdgeSimPy/pull/32/files#diff-d03512e9e3faac3987a2477d855565f4d6480ddda88a38fef7faab3b1570b10b
e5507.py https://github.com/EdgeSimPy/EdgeSimPy/pull/32/files#diff-769c1ed22966c854fcecb5cde4546b6c26f8a958781f4b94682ec71882e43341
e5645.py https://github.com/EdgeSimPy/EdgeSimPy/pull/32/files#diff-15ebb808367f2c29689d47c38ef5aee42c1b6cfb55296dca9839e2642fad447d
jetson_nano.py https://github.com/EdgeSimPy/EdgeSimPy/pull/32/files#diff-6b8f6b6b3058b4047c1edd3a803cc46049d834cb57e27e05ddf1468783ffa330
jetson_tx2.py https://github.com/EdgeSimPy/EdgeSimPy/pull/32/files#diff-c8fe99e8e42cd9bafa98bd666fd8ce05aaf40e48784fe376cd6886c8f8069f84
raspberry_pi4.py https://github.com/EdgeSimPy/EdgeSimPy/pull/32/files#diff-72e52fd30b126a5589fbead7d2939a77f66b7398bd7c07e389726fd339f771d8
edge_sim_py/dataset_generator/edge_servers/e5430.pyhttps://github.com/EdgeSimPy/EdgeSimPy/pull/32/files#diff-d03512e9e3faac3987a2477d855565f4d6480ddda88a38fef7faab3b1570b10b
View file https://github.com/prawalpokharel/EdgeSimPy/blob/85f9e04c883e8c6e855b1e25e31e29d8737a4154/edge_sim_py/dataset_generator/edge_servers/e5430.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/EdgeSimPy/EdgeSimPy/pull/32/{{ revealButtonHref }}
https://github.com/EdgeSimPy/EdgeSimPy/pull/32/files#diff-d03512e9e3faac3987a2477d855565f4d6480ddda88a38fef7faab3b1570b10b
edge_sim_py/dataset_generator/edge_servers/e5507.pyhttps://github.com/EdgeSimPy/EdgeSimPy/pull/32/files#diff-769c1ed22966c854fcecb5cde4546b6c26f8a958781f4b94682ec71882e43341
View file https://github.com/prawalpokharel/EdgeSimPy/blob/85f9e04c883e8c6e855b1e25e31e29d8737a4154/edge_sim_py/dataset_generator/edge_servers/e5507.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/EdgeSimPy/EdgeSimPy/pull/32/{{ revealButtonHref }}
https://github.com/EdgeSimPy/EdgeSimPy/pull/32/files#diff-769c1ed22966c854fcecb5cde4546b6c26f8a958781f4b94682ec71882e43341
edge_sim_py/dataset_generator/edge_servers/e5645.pyhttps://github.com/EdgeSimPy/EdgeSimPy/pull/32/files#diff-15ebb808367f2c29689d47c38ef5aee42c1b6cfb55296dca9839e2642fad447d
View file https://github.com/prawalpokharel/EdgeSimPy/blob/85f9e04c883e8c6e855b1e25e31e29d8737a4154/edge_sim_py/dataset_generator/edge_servers/e5645.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/EdgeSimPy/EdgeSimPy/pull/32/{{ revealButtonHref }}
https://github.com/EdgeSimPy/EdgeSimPy/pull/32/files#diff-15ebb808367f2c29689d47c38ef5aee42c1b6cfb55296dca9839e2642fad447d
edge_sim_py/dataset_generator/edge_servers/jetson_nano.pyhttps://github.com/EdgeSimPy/EdgeSimPy/pull/32/files#diff-6b8f6b6b3058b4047c1edd3a803cc46049d834cb57e27e05ddf1468783ffa330
View file https://github.com/prawalpokharel/EdgeSimPy/blob/85f9e04c883e8c6e855b1e25e31e29d8737a4154/edge_sim_py/dataset_generator/edge_servers/jetson_nano.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/EdgeSimPy/EdgeSimPy/pull/32/{{ revealButtonHref }}
https://github.com/EdgeSimPy/EdgeSimPy/pull/32/files#diff-6b8f6b6b3058b4047c1edd3a803cc46049d834cb57e27e05ddf1468783ffa330
edge_sim_py/dataset_generator/edge_servers/jetson_tx2.pyhttps://github.com/EdgeSimPy/EdgeSimPy/pull/32/files#diff-c8fe99e8e42cd9bafa98bd666fd8ce05aaf40e48784fe376cd6886c8f8069f84
View file https://github.com/prawalpokharel/EdgeSimPy/blob/85f9e04c883e8c6e855b1e25e31e29d8737a4154/edge_sim_py/dataset_generator/edge_servers/jetson_tx2.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/EdgeSimPy/EdgeSimPy/pull/32/{{ revealButtonHref }}
https://github.com/EdgeSimPy/EdgeSimPy/pull/32/files#diff-c8fe99e8e42cd9bafa98bd666fd8ce05aaf40e48784fe376cd6886c8f8069f84
edge_sim_py/dataset_generator/edge_servers/raspberry_pi4.pyhttps://github.com/EdgeSimPy/EdgeSimPy/pull/32/files#diff-72e52fd30b126a5589fbead7d2939a77f66b7398bd7c07e389726fd339f771d8
View file https://github.com/prawalpokharel/EdgeSimPy/blob/85f9e04c883e8c6e855b1e25e31e29d8737a4154/edge_sim_py/dataset_generator/edge_servers/raspberry_pi4.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/EdgeSimPy/EdgeSimPy/pull/32/{{ revealButtonHref }}
https://github.com/EdgeSimPy/EdgeSimPy/pull/32/files#diff-72e52fd30b126a5589fbead7d2939a77f66b7398bd7c07e389726fd339f771d8
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.