{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/diffcharge-generating-ev-charging-scenarios","title":"DiffCharge: Generating EV Charging Scenarios via a Denoising Diffusion Model","arxiv_id":"2308.09857","date":"2023-08-18","proceeding":null,"authors":["Siyang Li","Hui Xiong","Yize Chen"],"abstract":"Recent proliferation of electric vehicle (EV) charging events has brought prominent stress over power grid operation. Due to the stochastic and volatile EV charging behaviors, the induced charging loads are extremely uncertain, posing modeling and control challenges for grid operators and charging management. Generating EV charging scenarios would aid via synthesizing a myriad of realistic charging scenarios. To this end, we propose a novel denoising Diffusion-based Charging scenario generation model DiffCharge, which is capable of generating a broad variety of realistic EV charging profiles with distinctive temporal properties. It is able to progressively convert the simply known Gaussian noise to genuine charging time-series data, by learning a parameterized reversal of a forward diffusion process. Besides, we leverage the multi-head self-attention and prior conditions to capture the temporal correlations and unique information associated with EV or charging station types in real charging profiles. Moreover, We demonstrate the superiority of DiffCharge on extensive real-world charging datasets, as well as the efficacy on EV integration in power distribution grids.","url_abs":"https://arxiv.org/abs/2308.09857v2","url_pdf":"https://arxiv.org/pdf/2308.09857v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"diffcharge-generating-ev-charging-scenarios","repo_url":"https://github.com/lsy-cython/diffcharge","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"denoising","task_name":"Denoising"},{"task_slug":"management","task_name":"Management"},{"task_slug":"time-series-1","task_name":"Time Series"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2308.09857","atlas_url":"https://app.syntology.ai/?focus=2308.09857","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2308.09857"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/lsy-cython/diffcharge","reach":{"status":"ok"}}],"summary":{"ran":8,"unverified":2},"by_repo_kind":{"official":{"samples":10,"ran":8,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":10,"samples":[{"code_sha256_prefix":"264fc915e9cd432a","entry":"auto_correlation","repo":"lsy-cython/diffcharge","repo_kind":"official","path":"acf.py","file_url":"https://github.com/lsy-cython/diffcharge/blob/HEAD/acf.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"264fc915e9cd432a"}},{"code_sha256_prefix":"f22d8d83e14938f4","entry":"cmax_sample","repo":"lsy-cython/diffcharge","repo_kind":"official","path":"maxsam.py","file_url":"https://github.com/lsy-cython/diffcharge/blob/HEAD/maxsam.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f22d8d83e14938f4"}},{"code_sha256_prefix":"6a26c8f6a509c954","entry":"creat_dataloader","repo":"lsy-cython/diffcharge","repo_kind":"official","path":"dataset.py","file_url":"https://github.com/lsy-cython/diffcharge/blob/HEAD/dataset.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6a26c8f6a509c954"}},{"code_sha256_prefix":"b5cf8a26b931c7ab","entry":"creat_dataloader","repo":"lsy-cython/diffcharge","repo_kind":"official","path":"discrimination.py","file_url":"https://github.com/lsy-cython/diffcharge/blob/HEAD/discrimination.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b5cf8a26b931c7ab"}},{"code_sha256_prefix":"aeead62832c56cfc","entry":"driver_postprocess","repo":"lsy-cython/diffcharge","repo_kind":"official","path":"gmm.py","file_url":"https://github.com/lsy-cython/diffcharge/blob/HEAD/gmm.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"aeead62832c56cfc"}},{"code_sha256_prefix":"66a2bd5f1f573cca","entry":"pmax_sample","repo":"lsy-cython/diffcharge","repo_kind":"official","path":"maxsam.py","file_url":"https://github.com/lsy-cython/diffcharge/blob/HEAD/maxsam.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"66a2bd5f1f573cca"}},{"code_sha256_prefix":"9f53f2f802548aa4","entry":"reparameterization","repo":"lsy-cython/diffcharge","repo_kind":"official","path":"aae.py","file_url":"https://github.com/lsy-cython/diffcharge/blob/HEAD/aae.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9f53f2f802548aa4"}},{"code_sha256_prefix":"153d8a50757d7351","entry":"time_embedding","repo":"lsy-cython/diffcharge","repo_kind":"official","path":"network.py","file_url":"https://github.com/lsy-cython/diffcharge/blob/HEAD/network.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"153d8a50757d7351"}},{"code_sha256_prefix":"23fb7a848ebd1181","entry":"cal_acf","repo":"lsy-cython/diffcharge","repo_kind":"official","path":"acf.py","file_url":"https://github.com/lsy-cython/diffcharge/blob/HEAD/acf.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"23fb7a848ebd1181"}},{"code_sha256_prefix":"b0e79049b15ba425","entry":"estimate_driver_gmm","repo":"lsy-cython/diffcharge","repo_kind":"official","path":"gmm.py","file_url":"https://github.com/lsy-cython/diffcharge/blob/HEAD/gmm.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b0e79049b15ba425"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}