# ERROR while creating CEMSUM file for the SMOKE

**URL:** <https://forum.cmascenter.org/t/error-while-creating-cemsum-file-for-the-smoke/3570>\
**Category:** SMOKE\
**Tags:** smoke, smoke-481\
**Created:** [September 14, 2022, 6:39pm UTC](https://forum.cmascenter.org/t/error-while-creating-cemsum-file-for-the-smoke/3570 "2022-09-14T18:39:18Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Iqbal](https://avatars.discourse-cdn.com/v4/letter/i/bc8723/32.png) [@Iqbal](https://forum.cmascenter.org/u/Iqbal)\
**Post date:** [September 14, 2022, 6:39pm UTC](https://forum.cmascenter.org/t/error-while-creating-cemsum-file-for-the-smoke/3570/1 "2022-09-14T18:39:19Z")

</div>

Hello,  
I am trying to create a CEMSUM file for the future year 2026 FROM THE HOURLY CEMS inventory file (example data)

 ![Screenshot from 2022-09-14 14-08-04](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/2X/3/3c6c06e981d3df6e49b22a1548f8bf6467f7389a.png)

using the following script—

 ![Screenshot from 2022-09-14 13-35-10](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/2X/0/0bbc7769ac5946b14b31e108be820df5c3f0aafd.png)

After running it , the following information showed up with the error:

 ![Screenshot from 2022-09-14 13-27-48](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/2X/c/cbf96033d0edb6be34b6379e27c37d727bec6a16.png)

 ![Screenshot from 2022-09-14 13-28-13](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/2X/e/e7c683b62a976a13416159e059824b6bbc0be41a.png)

It say’s " ERROR: Could not open input file"

Could you please help me understand why this error occurred?

Thanks

---

<div class="post-metadata">

**Author:** ![eyth.alison](https://avatars.discourse-cdn.com/v4/letter/e/7ab992/32.png) [@eyth.alison](https://forum.cmascenter.org/u/eyth.alison)\
**Post date:** [September 14, 2022, 9:23pm UTC](https://forum.cmascenter.org/t/error-while-creating-cemsum-file-for-the-smoke/3570/2 "2022-09-14T21:23:34Z")

</div>

The filelist should be a list of all of the hourly CEM files to be input into CEM scan. It looks like it is pointing to an hourly FF10.

---

<div class="post-metadata">

**Author:** ![Iqbal](https://avatars.discourse-cdn.com/v4/letter/i/bc8723/32.png) [@Iqbal](https://forum.cmascenter.org/u/Iqbal)\
**Post date:** [September 15, 2022, 3:33pm UTC](https://forum.cmascenter.org/t/error-while-creating-cemsum-file-for-the-smoke/3570/3 "2022-09-15T15:33:42Z")

</div>

Hi @eyth.alison

Yes, I have an hourly file which is in FF10 format. I don’t have hourly CEM file.

Can I create CEMSUM file from that FF10 formatted file?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![eyth.alison](https://avatars.discourse-cdn.com/v4/letter/e/7ab992/32.png) [@eyth.alison](https://forum.cmascenter.org/u/eyth.alison)\
**Post date:** [September 15, 2022, 4:10pm UTC](https://forum.cmascenter.org/t/error-while-creating-cemsum-file-for-the-smoke/3570/4 "2022-09-15T16:10:35Z")

</div>

You do not need to provide a CEMSUN when you use an hourly FF10 file.

---

<div class="post-metadata">

**Author:** ![Iqbal](https://avatars.discourse-cdn.com/v4/letter/i/bc8723/32.png) [@Iqbal](https://forum.cmascenter.org/u/Iqbal)\
**Post date:** [September 15, 2022, 5:57pm UTC](https://forum.cmascenter.org/t/error-while-creating-cemsum-file-for-the-smoke/3570/5 "2022-09-15T17:57:20Z")

</div>

So, If I use the HOURLY FF10 file, SMOKE does not read the CEMSUM file. Am I right?

If so, Do I need to change the variable name of the file. The default variable name is EMISHOUR\_MULTI\_A which has Hour\_unit file with cemsum in the EPA script

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/2X/d/d046079821ecf1910faa5e754687621590dcffe3.png)

If I use HOURLY FF10 file, Do I need to change variable name to **EMISHOUR\_A** , and comment out the cemsum file? like this:  
 ![image](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/2X/f/f2b83563dc06da70508e2e5ecd234dc7d6a88a0d.png)

Thanks in advance

---

<div class="post-metadata">

**Author:** ![eyth.alison](https://avatars.discourse-cdn.com/v4/letter/e/7ab992/32.png) [@eyth.alison](https://forum.cmascenter.org/u/eyth.alison)\
**Post date:** [September 15, 2022, 7:12pm UTC](https://forum.cmascenter.org/t/error-while-creating-cemsum-file-for-the-smoke/3570/6 "2022-09-15T19:12:15Z")

</div>

Yes, this is true that CEMSUM will not be read. Here are some suggestions:

The variable name should be changed along with the CEMSUM commented out.

The caveat is that with this method no variables will be temporalized by the heat input in the CEMs because SMOKE currently does not support that method using the hourly FF10 format.

---

<div class="post-metadata">

**Author:** ![Iqbal](https://avatars.discourse-cdn.com/v4/letter/i/bc8723/32.png) [@Iqbal](https://forum.cmascenter.org/u/Iqbal)\
**Post date:** [September 15, 2022, 7:27pm UTC](https://forum.cmascenter.org/t/error-while-creating-cemsum-file-for-the-smoke/3570/7 "2022-09-15T19:27:39Z")

</div>

@eyth.alison  
**" no variables will be temporalized by the heat input in the CEMs because SMOKE currently does not support that method using the hourly FF10 format"** ------  
Is that an issue if it will not temporalize by the heat input?. Would SMOKE run be correct if I follow this procedure?

Thanks

---

<div class="post-metadata">

**Author:** ![eyth.alison](https://avatars.discourse-cdn.com/v4/letter/e/7ab992/32.png) [@eyth.alison](https://forum.cmascenter.org/u/eyth.alison)\
**Post date:** [September 15, 2022, 8:07pm UTC](https://forum.cmascenter.org/t/error-while-creating-cemsum-file-for-the-smoke/3570/8 "2022-09-15T20:07:31Z")

</div>

SMOKE will use the hourly emissions from your FF10 for any pollutants that are in that file, and will fall back to the “regular temporal profiles” that you provide it for pollutants that are not in that file. Eventually, we will update SMOKE so that you can assign other pollutants to use heat input as a surrogate to base the temporal allocation on, but it is not ready yet. I didn’t check which pollutants are in your flat file to know if the correct behavior is a problem for your analysis.

---

<div class="post-metadata">

**Author:** ![Iqbal](https://avatars.discourse-cdn.com/v4/letter/i/bc8723/32.png) [@Iqbal](https://forum.cmascenter.org/u/Iqbal)\
**Post date:** [September 15, 2022, 8:47pm UTC](https://forum.cmascenter.org/t/error-while-creating-cemsum-file-for-the-smoke/3570/9 "2022-09-15T20:47:18Z")

</div>

@eyth.alison

In my Flat File, I have the following pollutants:  
 ![image](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/2X/4/4444ae45ac46b1025b011a42b2f1be2dcf15370f.png)

In this case, for those pollutants can I comment out CEMSUM file?

---

<div class="post-metadata">

**Author:** ![eyth.alison](https://avatars.discourse-cdn.com/v4/letter/e/7ab992/32.png) [@eyth.alison](https://forum.cmascenter.org/u/eyth.alison)\
**Post date:** [September 19, 2022, 2:06am UTC](https://forum.cmascenter.org/t/error-while-creating-cemsum-file-for-the-smoke/3570/10 "2022-09-19T02:06:35Z")

</div>

SMOKE would use the hourly values for all of the pollutants in your file and you should not need the CEMSUM for those.

If all hours for the entire year are in one FF10 then you can use just the EMISHOUR variable. Otherwise they can be split into month and the EMISHOUR\_MULTI\_A variable should be used.

The 2016 platform CMV sectors use hourly FF10s broken up by month with the EMISHOUR\_MULTI\_A variable set.

The scripts for CMV in 2016v2 platform are a good point of reference for getting the hourly FF10 processing to work.
